Skip to content

OrderInit beta ​

TypeAlias of @v12-engine/engine

ts
export type OrderInit<Type extends string = string> = {
    type: Type;
    formation?: string;
} & OrderInitOf<Type>;

What a command asks a unit to do: the order's type and what it is given (OrderInitOf). Turned into an Order once it is accepted