Grail (C#)  1.3.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.SimulatedGames.ISimulatedGameAction Interface Reference

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...
 

Detailed Description

Base class for all actions in SimulatedGame. Derive from it for your actions.

Member Function Documentation

◆ Apply()

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.

Parameters
currentUnitUnit that performs the action (currently active unit).
runtimeControlInterface for basic game-control flow (termination, scores, turn).
Returns

The documentation for this interface was generated from the following file: