Skip to content

AdvanceState beta ​

Interface of @v12-engine/engine

ts
export interface AdvanceState extends WaitState

What walking to a point and fighting on the way keeps (attackMove, attackPath, patrol)

Members ​

heading ​

ts
heading?: Vec2;

The point it last set out for

resume ​

ts
resume?: boolean;

To walk on again once the fight is over

target ​

ts
target?: EntityId;

What it fights, 0 for nothing