Skip to content

Lane beta ​

Interface of @v12-engine/engine

ts
export interface Lane

A lane, as the rules read it: the path, and its two ends, each with the spawner of the side whose waves start there

Members ​

ends ​

ts
ends: [LaneEnd | undefined, LaneEnd | undefined];

Its spawners, by the end of the lane they are at: the first point's, then the last's. Either is missing on a map not finished

path ​

ts
path: string;

The name of its path (world.map.path(name)), what orders that follow it are given

points ​

ts
points: readonly Vec2[];

The points of the lane's path, in order from its first end to its last