4 #include <unordered_set>
36 std::unordered_set<WorldObject*>& worldObjects();
37 std::unordered_set<Ship*>& ships();
41 void update(
float deltaSecs);
43 float deltaSec()
const;
45 static World* instance();
46 static void reset(
bool showWarning=
true);
56 static World* s_instance;
60 std::unique_ptr<Player> m_player;
61 std::unique_ptr<ScriptEngine> m_scriptEngine;
62 std::unique_ptr<Skybox> m_skybox;
63 std::unique_ptr<WorldTree> m_worldTree;
64 std::unique_ptr<WorldLogic> m_worldLogic;
65 std::unique_ptr<God> m_god;
66 std::unique_ptr<VoxelParticleEngine> m_particleEngine;
67 std::unique_ptr<FactionMatrix> m_factionMatrix;
68 std::unique_ptr<EventPoller> m_eventPoller;
69 std::unique_ptr<MissionSystem> m_missionSystem;
71 std::unordered_set<WorldObject*> m_worldObjects;
72 std::unordered_set<Ship*> m_ships;
Definition: worldobject.h:43
Definition: voxelparticleengine.h:23
Definition: eventpoller.h:9
Definition: worldlogic.h:19
Definition: missionsystem.h:9
Definition: factionmatrix.h:14
Definition: scriptengine.h:17
Definition: worldtree.h:13