Skip to content

Base beta ​

Interface of @v12-engine/engine/ai

ts
export interface Base

One of a player's bases, as the view clusters its buildings: around each building that takes deposits (a hall, what stands on a mine), or around any building where none does

Members ​

at ​

ts
at: Vec2;

Where it is: the building it is around

buildings ​

ts
buildings: UnitSet;

Its buildings, the centre among them

centre ​

ts
centre: EntityState;

The building it is around: a hall where there is one