AreaDef beta
Interface of @v12-engine/engine
ts
export interface AreaDefA named part of the map that the rules watch: who walks into it and out of it (enteredArea, leftArea events), and who is in it now (world.areas). Units count, by where their middle is; buildings, scenery and units inside something do not. Given in Rules.areas
Members
id
ts
id: string;Shared by every game, like other ids: give it a prefix of the game's ('td.gate')
shape
ts
shape: AreaShape;The area's shape in cells, one of the AreaShapes