![]() |
grail (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...
Public Member Functions | |
| void | AddBehaviors (in AIEntity entity, in ISimulatedGameUnit simulatedGameUnit, in IEnumerable< ISimulatedGameAction > actions, ref Plan plan) |
| 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.
| void Grail.Simulation.ISimulatedActionTranslator.AddBehaviors | ( | in AIEntity | entity, |
| in ISimulatedGameUnit | simulatedGameUnit, | ||
| in IEnumerable< ISimulatedGameAction > | actions, | ||
| ref Plan | plan | ||
| ) |
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. |