SupplyCap beta
Interface of @v12-engine/engine
ts
export interface SupplyCapA player's cap of a pool of supply, once what their buildings provide is added up (see the supply system): change cap (a starting amount, an upgrade, a rule of the game's own). The game's most (RuleSettings.supply.max, a pool's max) still holds after
Members
cap
ts
cap: number;The cap of the pool in supply points, once buildings are added up; a handler may change it
player
ts
readonly player: PlayerId;The player whose supply cap it is
pool
ts
readonly pool: string;supply for the one there always is, or the name of one of the game's own (RuleSettings.supply.pools)