WorldStateDeterminer

Determine the world state: the conditions that drive GOAP planning Our conditions can have 3 values: true, false or unknown. Unknown may be genuinely unknown, or it may mean that the condition has been lazily evaluated and needs to be evaluated again.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Determine an individual condition, disabling any caching. Any previously UNKNOWN condition must be re-evaluated if possible.

Link copied to clipboard

Determine world state. Optimization is permitted. Implementations may choose to return UNKNOWN for expensive conditions, which the planner should invoke lazily