]> git.localhorst.tv Git - blank.git/blobdiff - src/app/UnloadState.hpp
enhanced application state control
[blank.git] / src / app / UnloadState.hpp
index 56394bb60c8105e4aee5eeb20cf4b7b26aff3b1c..6d5cea71ae2a89ecd3f417ad286a4ba7705e639b 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BLANK_APP_PRELOADSTATE_HPP_
-#define BLANK_APP_PRELOADSTATE_HPP_
+#ifndef BLANK_APP_UNLOADSTATE_HPP_
+#define BLANK_APP_UNLOADSTATE_HPP_
 
 #include "State.hpp"
 
@@ -22,6 +22,8 @@ class UnloadState
 public:
        UnloadState(Environment &, ChunkLoader &);
 
+       void OnResume();
+
        void Handle(const SDL_Event &) override;
        void Update(int dt) override;
        void Render(Viewport &) override;