]> git.localhorst.tv Git - blank.git/blobdiff - src/server/ServerState.hpp
linear model instance state
[blank.git] / src / server / ServerState.hpp
index 31ad5217535567d4bf1fd63490ae72f06f6c9b08..bfefccf397f0ae0be42a5ac6213bbd01b2d33eb1 100644 (file)
@@ -5,6 +5,7 @@
 #include "../ai/Spawner.hpp"
 #include "../app/IntervalTimer.hpp"
 #include "../app/State.hpp"
+#include "../model/ShapeRegistry.hpp"
 #include "../model/Skeletons.hpp"
 #include "../world/BlockTypeRegistry.hpp"
 #include "../world/ChunkLoader.hpp"
@@ -31,6 +32,7 @@ public:
                const WorldSave &,
                const Config &
        );
+       ~ServerState();
 
        void Handle(const SDL_Event &) override;
        void Update(int dt) override;
@@ -38,6 +40,7 @@ public:
 
 private:
        HeadlessEnvironment &env;
+       ShapeRegistry shapes;
        BlockTypeRegistry block_types;
        World world;
        Generator generator;