Skip to content

AlongPath beta ​

Interface of @v12-engine/engine

ts
export interface AlongPath

What an order along a path keeps (followPath, attackPath): the bend it goes to next, and which way. Set as it starts

Members ​

leg ​

ts
leg: number;

The bend of the path it goes to next, by its place in the path

step ​

ts
step: 1 | -1;

Which way along the path: towards its last point (1) or its first (-1)