Skip to content

LaneSide beta ​

Interface of @v12-engine/engine/ai

ts
export interface LaneSide

A lane as one side reads it (LanesPlay.lanes): the path, measured from that side's end (from: the end its own spawner stands at), its length

Members ​

from ​

ts
from: 0 | 1;

The end of the lane that is its side's: 0 the first point's, 1 the last's

length ​

ts
length: number;

Cells from end to end, along it

path ​

ts
path: string;

The name of its path: what the goal and squad of the lane are named by (lanes.push:mid)

points ​

ts
points: readonly Vec2[];

The path's points in order, in cells