Simulator::cIdentityColorable class

A Simulator class inherited by all those classes that can have an identity color, such as empires, tribes, etc.

The following attributes are saved:

  • mIDColorID
  • mCachedColor

Derived classes

class cCivilization
class cEmpire
An empire in Space Stage.
class cTribe
A tribe from the tribe stage.

Public static variables

static const uint32_t TYPE

Constructors, destructors, conversion operators

~cIdentityColorable() virtual

Public functions

auto GetType() -> uint32_t virtual
auto AddRef() -> int pure virtual
auto Release() -> int pure virtual
auto Cast(uint32_t typeID) -> void* virtual
void Write(void*) virtual
void Read(void*) virtual

Public variables

uint32_t mIDColorID
eastl::map<int, int> field_8
Math::ColorRGB mCachedColor