Simulator::cResourceProjectile class

Projectile used in civilization stage to capture spice geysers. Might be used for other things too.

Base classes

class cGameData
Base class for most Simulator objects.
class cLocomotiveObject
class cProjectile

Public static variables

static const uint32_t TYPE
static const uint32_t NOUN_ID

Public functions

auto LaunchProjectile(cCivilization* civilization, cCommodityNode* commodityNode, const Math::Vector3&, float speed, bool) -> void
auto AddRef() -> int pure virtual
auto Release() -> int pure virtual
auto Cast(uint32_t typeID) const -> void* pure virtual

Public variables

bool field_514
int field_518
cCommodityNodePtr mpNode
Vector3 mTargetPos
cGonzagoTimer mLifeTimer
The projectile will be destroyed after 1000 ticks of this timer.
uint32_t mOwner
Political ID of the civilization that owns this projectile.
bool field_554