Simulator::IProjectile class

Derived classes

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

Public static variables

static const uint32_t TYPE

Constructors, destructors, conversion operators

~IProjectile() virtual

Public functions

auto Cast(uint32_t type) -> void* pure virtual
auto Release() -> int pure virtual
auto AddRef() -> int pure virtual
auto GetLocomotiveObject() -> cLocomotiveObject* pure virtual
Returns a reference to the locomotive object of this projectile (so just returns this as a cLocomotiveObject).
auto Update() -> bool pure virtual
Called every frame by the CombatSimulator.
auto func18h() -> int virtual
auto func1Ch() -> float virtual
void func20h(int) virtual
auto func24h() -> bool virtual

Public variables

Vector3 projectile_field_4

Function documentation

bool Simulator::IProjectile::Update() pure virtual

Called every frame by the CombatSimulator.

Must return true if the projectile instance is still alive, or false if it has finished and must be destroyed.