Represents a planner goal, used by PlannerReasoner
More...
|
virtual PlannerHeuristic | Heuristic [get] |
|
Represents a planner goal, used by PlannerReasoner
◆ OnChosen()
virtual void Grail.Planning.Goal.OnChosen |
( |
AIEntity |
goalPursuer | ) |
|
|
inlinevirtual |
/// Called after the Goal is set by the reasoner.
- Parameters
-
goalPursuer | The entity that has chosen this goal |
◆ OnReached()
virtual void Grail.Planning.Goal.OnReached |
( |
AIEntity |
goalPursuer | ) |
|
|
inlinevirtual |
Called by the PlannerReasoner after Goal.IsReached method returns true
- Parameters
-
goalPursuer | The entity that has chosen this goal |
◆ OnReapplied()
virtual void Grail.Planning.Goal.OnReapplied |
( |
AIEntity |
goalPursuer | ) |
|
|
inlinevirtual |
/// Called if the current plan failed to achieve this goal but it got chosen once again
- Parameters
-
goalPursuer | the entity that has chosen this goal |
◆ SetPlanSpaceConditions()
In this method, all plan-space goal conditions should be set.
- Parameters
-
planner | The planner to be provided with goal conditions. Use Planner.PushCondition method. |
The documentation for this class was generated from the following file:
- GrailPlanners/source/Planning/Goal.cs