Voxellancer
0.3
A game about voxels in space
|
Public Member Functions | |
Player & | player () |
Skybox & | skybox () |
WorldLogic & | worldLogic () |
God & | god () |
WorldTree & | worldTree () |
ScriptEngine & | scriptEngine () |
VoxelParticleEngine & | particleEngine () |
FactionMatrix & | factionMatrix () |
EventPoller & | eventPoller () |
MissionSystem & | missionSystem () |
std::unordered_set < WorldObject * > & | worldObjects () |
std::unordered_set< Ship * > & | ships () |
void | printStatus () |
void | update (float deltaSecs) |
float | deltaSec () const |
Static Public Member Functions | |
static World * | instance () |
static void | reset (bool showWarning=true) |
Protected Member Functions | |
void | addWorldObject (WorldObject *worldObject) |
void | removeWorldObject (WorldObject *worldObject) |
Protected Attributes | |
float | m_deltaSec |
std::unique_ptr< Player > | m_player |
std::unique_ptr< ScriptEngine > | m_scriptEngine |
std::unique_ptr< Skybox > | m_skybox |
std::unique_ptr< WorldTree > | m_worldTree |
std::unique_ptr< WorldLogic > | m_worldLogic |
std::unique_ptr< God > | m_god |
std::unique_ptr < VoxelParticleEngine > | m_particleEngine |
std::unique_ptr< FactionMatrix > | m_factionMatrix |
std::unique_ptr< EventPoller > | m_eventPoller |
std::unique_ptr< MissionSystem > | m_missionSystem |
std::unordered_set< WorldObject * > | m_worldObjects |
std::unordered_set< Ship * > | m_ships |
Static Protected Attributes | |
static World * | s_instance = nullptr |
Friends | |
class | God |