![]() |
Grail (C#)
1.3.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
Base class for all actions in SimulatedGame. Derive from it for your actions. More...
Public Member Functions | |
ISimulatedGameUnit | Apply (in ISimulatedGameUnit currentUnit, in SimulatedGameRuntime runtimeControl) |
Applies the effects of the action and returns the next Unit to make an action. More... | |
Base class for all actions in SimulatedGame. Derive from it for your actions.
ISimulatedGameUnit Grail.SimulatedGames.ISimulatedGameAction.Apply | ( | in ISimulatedGameUnit | currentUnit, |
in SimulatedGameRuntime | runtimeControl | ||
) |
Applies the effects of the action and returns the next Unit to make an action.
currentUnit | Unit that performs the action (currently active unit). |
runtimeControl | Interface for basic game-control flow (termination, scores, turn). |