mwg API
    Preparing search index...

    Interface TacticalUnit

    interface TacticalUnit {
        actions: number;
        hp: number;
        id: string;
        maxActions?: number;
        maxHp: number;
        overwatch?: boolean;
        owner: string;
        x: number;
        y: number;
    }
    Index
    actions: number

    action points left this turn; spent by moveTacticalUnit and refreshed by endTacticalTurn

    hp: number
    id: string
    maxActions?: number

    the per-turn budget actions is refreshed to. addTacticalUnit fills it from the initial actions when the caller does not set it, so a unit keeps whatever budget it was created with rather than being reset to a framework-wide number.

    maxHp: number
    overwatch?: boolean
    owner: string
    x: number
    y: number