Skip to content

capturePack beta ​

Function of @v12-engine/engine

ts
export declare function capturePack(options?: CaptureOptions): GamePack;

A game with capture points: the points of options.points and of the map (things of the capture kind, which the editor places with the client's captureKind), each an area, counted every few ticks; whose each is and who is taking it in the world (captures, capturesOf) and in the game's report (captures); captured and capturing as they change; capturePoint for the rules' own say. Units count, alive and in sight of nobody in particular; buildings, scenery and the neutral player's do not