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

#include <GoalSelector.hh>

Public Member Functions

 GoalSelector (const GoalSelector &)=default
 
 GoalSelector (GoalSelector &&)=default
 
GoalSelectoroperator= (const GoalSelector &)=default
 
GoalSelectoroperator= (GoalSelector &&)=default
 
virtual void UpdateGoal (IGoalAcceptor &goalAcceptor, AIEntity &entity)=0
 This method should invoke goalAcceptor.setNewGoal whenever a new goal is selected.
 

Detailed Description

An abstract class used to specify goal selection logic for PlannerReasoner. Inherit from this class if you want to implement your own goal selection logic. The planner will aim to construct plans that satisfy this goal.


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