CapturePoint beta
Interface of @v12-engine/engine
ts
export interface CapturePointA capture point given in code (capturePack's points); one placed on the map says the same with its fields
Members
at
ts
at: Vec2;Where the middle of the point is, in cells
contested
ts
contested?: Contested;What it does while two sides stand in it: pause when left out
id
ts
id: string;Unique among the game's points: what the events name it by, and capturePoint
name
ts
name?: string;What the point is called to the players; nothing when left out
owner
ts
owner?: PlayerId;Whose it is as the game starts: nobody's when left out
radius
ts
radius?: number;How far around its middle counts, in cells: 4 when left out
time
ts
time?: number;Seconds a side alone in it takes to make it its own: 10 when left out