StartMeasure beta
Interface of @v12-engine/engine
ts
export interface StartMeasureWhat one player's start has around it
Members
buildable
ts
buildable: number;How many cells within BUILD_REACH of the start can be built on
mine
ts
mine?: {
distance: number;
amount: number;
at: Vec2;
};The way on foot to the nearest mine, and how much it holds. Nothing without a mine they can walk to
name
ts
name: string;The start's name, as the map names its player
player
ts
player: PlayerId;The player the start is for
trees
ts
trees: number;Trees within BUILD_REACH of the start