Grail (C++)  1.4.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::planner::IGoalAcceptor Class Referenceabstract

#include <GoalSelector.hh>

Inheritance diagram for grail::planner::IGoalAcceptor:

Public Member Functions

virtual void SetNewGoal (std::unique_ptr< Goal > newGoal, AIEntity &entity)=0
 Sets a new current goal for the given entity.
 
virtual const GoalGetCurrentGoal () const =0
 

Detailed Description

An interface indicating that the implementing class maintains a goal for planning. In particular, the Reasoners::PlannerReasoner implements IGoalAcceptor to track the current goal.

Member Function Documentation

◆ GetCurrentGoal()

virtual const Goal* grail::planner::IGoalAcceptor::GetCurrentGoal ( ) const
pure virtual
Returns
The goal currently set via SetNewGoal.

Implemented in grail::planner::PlannerReasoner.


The documentation for this class was generated from the following file: