StructureSeen beta
Interface of @v12-engine/engine/ai
ts
export interface StructureSeenAn enemy structure as remembered: where, what, whose, and when it was first and last in sight (ticks). gone is the tick it was known to be gone: seen destroyed, or its spot seen empty
Members
at
ts
at: Vec2;Where the structure stands, in cells
first
ts
first: number;The tick it was first in sight
gone
ts
gone?: number;The tick it was known to be gone; nothing while it stands as far as known
id
ts
id: number;The entity id of the structure
last
ts
last: number;The tick it was last in sight
owner
ts
owner: PlayerId;The player the structure belonged to when seen
type
ts
type: string;The unit type id of the structure