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

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

Detailed Description

Translates actions defined in SimulatedGame onto Behaviors used in Grail.

Member Function Documentation

◆ AddBehaviors()

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.

Parameters
entityThe entity that performs the behaviors.
simulatedGameUnitThe unit from SimulatedGame that performed the actions.
actionsThe actions to be translated to behaviors.
planA plan object which is a container for behaviors this method has to generate.

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