grail (C  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.DebugInfo.SimulatedGamesReasonerSnapshot.SimulatedGameUnitSnapshot Class Reference

DTO - data transfer object / plain data object. Container for debug data that describes state of a unit in SimulatedGame at particular time. More...

Public Member Functions

SimulatedGameUnitSnapshot Clone ()
 
override string ToString ()
 

Properties

int Team [get, set]
 The "owning" player. Units of the same team should share the same color in the GUI tool. More...
 
int ID [get, set]
 Ordered unique identifier of the unit. In this order they will apear in the GUI tool More...
 
string Text [get, set]
 Display text for the unit in logs and GUI tool More...
 
Dictionary< string, string > State = new Dictionary<string, string>() [get, set]
 State of the unit as serialized by FillDebugRepresentation method of a unit. More...
 

Detailed Description

DTO - data transfer object / plain data object. Container for debug data that describes state of a unit in SimulatedGame at particular time.

Property Documentation

◆ ID

int Grail.DebugInfo.SimulatedGamesReasonerSnapshot.SimulatedGameUnitSnapshot.ID
getset

Ordered unique identifier of the unit. In this order they will apear in the GUI tool

◆ State

Dictionary<string, string> Grail.DebugInfo.SimulatedGamesReasonerSnapshot.SimulatedGameUnitSnapshot.State = new Dictionary<string, string>()
getset

State of the unit as serialized by FillDebugRepresentation method of a unit.

◆ Team

int Grail.DebugInfo.SimulatedGamesReasonerSnapshot.SimulatedGameUnitSnapshot.Team
getset

The "owning" player. Units of the same team should share the same color in the GUI tool.

◆ Text

string Grail.DebugInfo.SimulatedGamesReasonerSnapshot.SimulatedGameUnitSnapshot.Text
getset

Display text for the unit in logs and GUI tool


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