EnemyBase beta
Interface of @v12-engine/engine/ai
ts
export interface EnemyBaseAn enemy's base, as its structures remembered cluster (enemy.bases): around what takes deposits (a hall), or around any structure where none does. gone when every structure of it is known gone; expansion for every base of an owner but the first seen of theirs
Members
at
ts
at: Vec2;Where the base is, in cells: its middle
expansion
ts
expansion: boolean;Whether it is a further base of the owner, not the first seen of theirs
first
ts
first: number;When the first of it was seen
gone
ts
gone: boolean;Whether every structure of it is known gone
hall
ts
hall: boolean;Whether it is around what takes deposits: a hall, not a lone tower
last
ts
last: number;When any of it was last in sight
owner
ts
owner: PlayerId;The player the base belongs to
structures
ts
structures: StructureSeen[];The structures of it as remembered, gone ones included