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

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

Protected variables

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