(C++)
1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
#include <SimulatedGamesSnapshots.h>
Public Member Functions | |
SimulatedGameUnitSnapshot (int teamIndex, int orderID, const std::string &unitDescription) | |
Public Attributes | |
int | teamIndex = 0 |
The "owning" player. Units of the same team should share the same color in the GUI tool. | |
int | orderID = 0 |
Ordered unique identifier of the unit. In this order they will apear in the GUI tool. | |
std::string | description = "" |
Display text for the unit in logs and GUI tool. | |
std::map< std::string, std::string > | state = {} |
State of the unit as serialized by FillDebugRepresentation method of a unit. | |
DTO - data transfer object / plain data object. Container for debug data that describes state of a unit in SimulatedGame at particular time.