Claimed beta
Interface of @v12-engine/engine/ai
ts
export interface ClaimedWhat a picked goal was given (GoalDef.run): the units it holds this think (the dead and the lost dropped), the money, when it was picked, and whether this is the first think it runs
Members
began
ts
began: number;The tick it was picked at
first
ts
first: boolean;Whether this is the first think it runs: when its orders are to be sent, once
money
ts
money?: Cost;The money it holds, where it asked for any
squad
ts
squad(name: string, units: Iterable<EntityState | number>, options?: SquadOptions): Squad;Makes a squad the goal owns (ai.squads.make with the goal as its owner): when the goal stops, its squads go. Called again for a name the goal has a squad of already (a run each think), it is that squad, kept as it is (its task, its size), the units given added to it and its options those given now
units
ts
units: UnitSet;The units it holds, as of this think's picture