PatrolState beta
Interface of @v12-engine/engine
ts
export interface PatrolState extends AdvanceStateWhat patrol keeps: its two ends and the one it goes to (set as it starts), and whether it found one out of reach
Members
ends
ts
ends: [Vec2, Vec2];The point it was sent to, and where it stood
leg
ts
leg: number;Which of the two it goes to
stuck
ts
stuck?: boolean;It could not get to the other end