]> git.localhorst.tv Git - blank.git/blobdiff - src/app/WorldState.hpp
split chunk redering from world model
[blank.git] / src / app / WorldState.hpp
index 04bf6a84a8100a744018e0f0ba7036a87dff874f..d47024ff6633ed1fb65cb07dd29d1c8ba6ce2080 100644 (file)
@@ -6,6 +6,8 @@
 #include "UnloadState.hpp"
 #include "../ai/Spawner.hpp"
 #include "../ui/Interface.hpp"
+#include "../world/BlockTypeRegistry.hpp"
+#include "../world/ChunkRenderer.hpp"
 #include "../world/World.hpp"
 
 
@@ -35,7 +37,9 @@ public:
 
 private:
        Environment &env;
+       BlockTypeRegistry block_types;
        World world;
+       ChunkRenderer chunk_renderer;
        Spawner spawner;
        Interface interface;