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

Public Member Functions

 GenericEngine (const std::string &equipmentKey)
 
virtual const Visualsvisuals () const override
 
void setVisuals (const Visuals &visuals)
 
virtual const SoundPropertiessound () const override
 
void setEngineSound (const SoundProperties &engineSound)
 
virtual EnginePower power () const override
 
void setPower (const EnginePower &power)
 
virtual void update (float deltaSec) override
 
- Public Member Functions inherited from Engine
 Engine (const std::string &equipmentKey)
 
EngineSlotengineSlot ()
 
const EngineSlotengineSlot () const
 
void setEngineSlot (EngineSlot *engineSlot)
 
const EngineStatestate () const
 
void setState (const EngineState &state)
 
Acceleration currentAcceleration () const
 
- Public Member Functions inherited from Equipment
 Equipment (const std::string &equipmentKey)
 
const std::string & equipmentKey () const
 

Protected Attributes

EnginePower m_power
 
Visuals m_visuals
 
SoundProperties m_engineSound
 
- Protected Attributes inherited from Engine
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
 

Additional Inherited Members

- Protected Member Functions inherited from Engine
void setupTrail ()
 

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