Functions

Link copied to clipboard

Return the best plan to any goal

Link copied to clipboard

Return the best plan to each goal from the present world state. The plans (one for each goal) are sorted by net value, descending.

Link copied to clipboard
abstract fun planToGoal(actions: Collection<Action>, goal: Goal): GoapPlan?

Plan from here to the given goal

Link copied to clipboard
abstract fun prune(planningSystem: GoapPlanningSystem): GoapPlanningSystem

Return a PlanningSystem that excludes all actions that cannot help achieve one of the goals from the present world state.

Link copied to clipboard
abstract fun worldState(): GoapWorldState

Current world state