(C++)
1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
Translates actions defined in SimulatedGame onto Behaviors used in Grail. More...
#include <ISimulatedActionTranslator.hh>
Public Member Functions | |
ISimulatedActionTranslator (const ISimulatedActionTranslator &other)=default | |
ISimulatedActionTranslator & | operator= (const ISimulatedActionTranslator &other)=default |
virtual void | AddBehaviors (AIEntity &entity, const ISimulatedGameUnit &simulatedGameUnit, std::vector< const ISimulatedGameAction * > actions, planning::Plan &plan)=0 |
Translate actions from SimulatedGames (@actions) into any number of corresponing behaviors and add push them to the @plan object. More... | |
Translates actions defined in SimulatedGame onto Behaviors used in Grail.
|
pure virtual |
Translate actions from SimulatedGames (@actions) into any number of corresponing behaviors and add push them to the @plan object.
entity | The entity that performs the behaviors. |
SimulatedGameUnit | The unit from SimulatedGame that performed the actions. |
actions | The actions to be translated to behaviors. |
plan | A plan object which is a container for behaviors this method has to generate. |