WaitState beta
Interface of @v12-engine/engine
ts
export interface WaitStateWhat an order that waits for room at its target keeps (holdOff): attack's, and a game's own
Members
looked
ts
looked?: boolean;Whether it has looked, once, for anchored allies between it and its place at the target
meanwhile
ts
meanwhile?: EntityId;What it hits while it waits, 0 for nothing: the target it was told to attack is still its order's
spot
ts
spot?: Vec2;Where it goes in to by a building, once a place there is free
until
ts
until?: number;The time it gives itself to get there, from the world's start (World.time): past it, it waits again
waiting
ts
waiting?: boolean;Waiting by its target for room there, out of the way of those fighting it