Skip to content

stancesPack beta ​

Function of @v12-engine/engine

ts
export declare function stancesPack(options?: StancesOptions): GamePack;

A game whose units have stances: the component, the command, and the engine's acquisition read through hooks. In the default stance nothing changes. Defensive units fire at what their attack reaches and let go of what steps out of it, returning to where they stood (the engine's own way home); hold fire fires back at the last to hit it; no attack leaves everyone alone. A unit given an attack order fights whatever its stance