Skip to content

Walk beta ​

Interface of @v12-engine/engine

ts
export interface Walk

A way on foot over a map: its length, and the points it goes through

Members ​

length ​

ts
length: number;

The length of the way, in cells

points ​

ts
points: Vec2[];

The points the way goes through, from its start to its end