Grail (C#)
1.3.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
Translates actions defined in SimulatedGame onto Behaviors used in Grail. More...
Public Member Functions | |
void | AddBehaviors (in AIEntity entity, in ISimulatedGameUnit simulatedGameUnit, in IEnumerable< ISimulatedGameAction > actions, ref Plan plan) |
Translate actions from SimulatedGames () into any number of corresponing behaviors and add push them to the object. More... | |
Translates actions defined in SimulatedGame onto Behaviors used in Grail.
void Grail.SimulatedGames.ISimulatedActionTranslator.AddBehaviors | ( | in AIEntity | entity, |
in ISimulatedGameUnit | simulatedGameUnit, | ||
in IEnumerable< ISimulatedGameAction > | actions, | ||
ref Plan | plan | ||
) |
Translate actions from SimulatedGames () into any number of corresponing behaviors and add push them to the 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. |