]> git.localhorst.tv Git - blank.git/blobdiff - src/app/UnloadState.hpp
the sound thing
[blank.git] / src / app / UnloadState.hpp
index 56394bb60c8105e4aee5eeb20cf4b7b26aff3b1c..877f8fb4d7f4030382fb2b47190c25a52b562c72 100644 (file)
@@ -1,10 +1,9 @@
-#ifndef BLANK_APP_PRELOADSTATE_HPP_
-#define BLANK_APP_PRELOADSTATE_HPP_
+#ifndef BLANK_APP_UNLOADSTATE_HPP_
+#define BLANK_APP_UNLOADSTATE_HPP_
 
 #include "State.hpp"
 
 #include "../ui/Progress.hpp"
-#include "../graphics/Font.hpp"
 
 #include <cstddef>
 #include <list>
@@ -22,6 +21,8 @@ class UnloadState
 public:
        UnloadState(Environment &, ChunkLoader &);
 
+       void OnResume();
+
        void Handle(const SDL_Event &) override;
        void Update(int dt) override;
        void Render(Viewport &) override;
@@ -29,7 +30,6 @@ public:
 private:
        Environment &env;
        ChunkLoader &loader;
-       Font font;
        Progress progress;
        std::list<Chunk>::iterator cur;
        std::list<Chunk>::iterator end;