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

Public Member Functions

Playerplayer ()
 
Skyboxskybox ()
 
WorldLogicworldLogic ()
 
Godgod ()
 
WorldTreeworldTree ()
 
ScriptEnginescriptEngine ()
 
VoxelParticleEngineparticleEngine ()
 
FactionMatrixfactionMatrix ()
 
EventPollereventPoller ()
 
MissionSystemmissionSystem ()
 
std::unordered_set
< WorldObject * > & 
worldObjects ()
 
std::unordered_set< Ship * > & ships ()
 
void printStatus ()
 
void update (float deltaSecs)
 
float deltaSec () const
 

Static Public Member Functions

static Worldinstance ()
 
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< Playerm_player
 
std::unique_ptr< ScriptEnginem_scriptEngine
 
std::unique_ptr< Skyboxm_skybox
 
std::unique_ptr< WorldTreem_worldTree
 
std::unique_ptr< WorldLogicm_worldLogic
 
std::unique_ptr< Godm_god
 
std::unique_ptr
< VoxelParticleEngine
m_particleEngine
 
std::unique_ptr< FactionMatrixm_factionMatrix
 
std::unique_ptr< EventPollerm_eventPoller
 
std::unique_ptr< MissionSystemm_missionSystem
 
std::unordered_set< WorldObject * > m_worldObjects
 
std::unordered_set< Ship * > m_ships
 

Static Protected Attributes

static Worlds_instance = nullptr
 

Friends

class God
 

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