Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
Engine Class Referenceabstract
Inheritance diagram for Engine:
[legend]
Collaboration diagram for Engine:
[legend]

Public Member Functions

 Engine (const std::string &equipmentKey)
 
virtual const Visualsvisuals () const =0
 
virtual const SoundPropertiessound () const =0
 
EngineSlotengineSlot ()
 
const EngineSlotengineSlot () const
 
void setEngineSlot (EngineSlot *engineSlot)
 
virtual EnginePower power () const =0
 
const EngineStatestate () const
 
void setState (const EngineState &state)
 
Acceleration currentAcceleration () const
 
virtual void update (float deltaSec)
 
- Public Member Functions inherited from Equipment
 Equipment (const std::string &equipmentKey)
 
const std::string & equipmentKey () const
 

Protected Member Functions

void setupTrail ()
 

Protected Attributes

std::unique_ptr
< EngineTrailGenerator
m_trailGenerator
 
std::shared_ptr< Soundm_sound
 
EngineSlotm_engineSlot
 
EngineState m_state
 
- Protected Attributes inherited from Equipment
std::string m_equipmentKey
 

The documentation for this class was generated from the following files: