]> git.localhorst.tv Git - blank.git/blobdiff - src/server/ServerState.hpp
load models from assets
[blank.git] / src / server / ServerState.hpp
index bfefccf397f0ae0be42a5ac6213bbd01b2d33eb1..b62cf0904224f767730bf6cd33f5156c1d7e50f8 100644 (file)
@@ -5,8 +5,8 @@
 #include "../ai/Spawner.hpp"
 #include "../app/IntervalTimer.hpp"
 #include "../app/State.hpp"
+#include "../model/ModelRegistry.hpp"
 #include "../model/ShapeRegistry.hpp"
-#include "../model/Skeletons.hpp"
 #include "../world/BlockTypeRegistry.hpp"
 #include "../world/ChunkLoader.hpp"
 #include "../world/Generator.hpp"
@@ -42,10 +42,10 @@ private:
        HeadlessEnvironment &env;
        ShapeRegistry shapes;
        BlockTypeRegistry block_types;
+       ModelRegistry models;
        World world;
        Generator generator;
        ChunkLoader chunk_loader;
-       Skeletons skeletons;
        Spawner spawner;
        Server server;
        IntervalTimer loop_timer;