Simulator::cStar class

Base classes

class cGameData
Base class for most Simulator objects.

Public static variables

static const uint32_t TYPE
static const uint32_t NOUN_ID

Public functions

auto GetSolarSystem() -> cSolarSystem*
Gets the solar system of this star, creating it if necessary.
auto GetStarType() -> StarType
auto IsBinaryStar() -> bool
auto IsStarOrBinaryStar() -> bool
auto GetName() -> eastl::string16&
auto AddRef() -> int pure virtual
auto Release() -> int pure virtual
auto Cast(uint32_t typeID) const -> void* pure virtual

Public variables

StarType mPrimaryType
For binary systems, type of the first star.
StarType mSecondaryType
For binary systems, type of the second star.
bool mActivatedPlanets
cSolarSystemPtr mpSolarSystem
bool mPlayerCanCapture
cStarRecordPtr mpStarRecord
uint32_t mKey