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.
Properties
Section titled “Properties”cost:
number
Defined in: src/modules/goap/goap.ts:15
effects
Section titled “effects”effects:
WorldState
Defined in: src/modules/goap/goap.ts:16
name:
string
Defined in: src/modules/goap/goap.ts:14
preconditions
Section titled “preconditions”preconditions:
WorldState
Defined in: src/modules/goap/goap.ts:17