]> git.localhorst.tv Git - blank.git/blobdiff - src/server/ServerState.hpp
merge common parts of pre- and unload states
[blank.git] / src / server / ServerState.hpp
index 8f564ab5105c3f0d7f2220fa2f5e17b669c0be4c..3a4851470edb8a1cecf555e52048a4a971fcd45d 100644 (file)
@@ -14,6 +14,7 @@
 
 namespace blank {
 
+class Config;
 class HeadlessEnvironment;
 class WorldSave;
 
@@ -28,8 +29,9 @@ public:
                const Generator::Config &,
                const World::Config &,
                const WorldSave &,
-               const Server::Config &
+               const Config &
        );
+       ~ServerState();
 
        void Handle(const SDL_Event &) override;
        void Update(int dt) override;