Skip to content

five-on-it / packages/ai/src/steer-climb / ClimbState

Interface: ClimbState ​

Defined in: packages/ai/src/steer-climb.ts:75

Where an NPC is in taking a link (NpcState.climb).

Properties ​

link: number

Defined in: packages/ai/src/steer-climb.ts:77

The link (an index into the navigation's links).


phase ​

phase: number

Defined in: packages/ai/src/steer-climb.ts:79

Walking to it (0), at it (1), boarding a lift (2), on it (3), off it (4).


since ​

since: number

Defined in: packages/ai/src/steer-climb.ts:81

The tick the phase began.


started ​

started: number

Defined in: packages/ai/src/steer-climb.ts:83

The tick it came near the link's start (its time to take it runs from there), or −1.