Skip to content

GoapAction

Defined in: src/modules/goap/goap.ts:13

A planner action: applicable when every preconditions key matches the current state, and applying it overwrites the effects keys. cost drives the A* search toward cheaper plans.

cost: number

Defined in: src/modules/goap/goap.ts:15


effects: WorldState

Defined in: src/modules/goap/goap.ts:16


name: string

Defined in: src/modules/goap/goap.ts:14


preconditions: WorldState

Defined in: src/modules/goap/goap.ts:17