Skip to content

GoalsMemory beta ​

Interface of @v12-engine/engine/ai

ts
export interface GoalsMemory

What the goals remember between thinks: what each holds, and until when each is on cooldown

Members ​

cooldowns ​

ts
cooldowns: Record<string, number>;

The tick each goal on cooldown may be picked again at, by goal id

holds ​

ts
holds: Record<string, Hold>;

What each goal holds, by goal id

v ​

ts
v: 1;

The version of this shape