◆ CreateGame()
virtual std::pair<std::unique_ptr<SimulatedGame>, std::shared_ptr<class ISimulatedGameUnit> > grail::simgames::ISimulatedGameStateTranslator::CreateGame |
( |
| ) |
|
|
pure virtual |
Return the SimulatedGame object an the unit paired with it. The paired unit is a virtual representation of the entity Reasoner is attached to.
◆ StartRefreshingGameState()
virtual void grail::simgames::ISimulatedGameStateTranslator::StartRefreshingGameState |
( |
const class AIEntity & |
entity, |
|
|
std::function< void()> |
refreshingFinishedCallback |
|
) |
| |
|
pure virtual |
This method is called when SimulatedGameReasoner requests for a new start state. When you are done with preparing the proper start state (all properties of units etc.) call the @refreshingFinishedCallback.
The documentation for this class was generated from the following file: