X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FUnloadState.hpp;h=877f8fb4d7f4030382fb2b47190c25a52b562c72;hb=5cd73a8f2b40e59ec13aa2a6af33bc8e2a6b9a6c;hp=56394bb60c8105e4aee5eeb20cf4b7b26aff3b1c;hpb=29ee0558fdd951b25f41005ed721241b1f28aefa;p=blank.git diff --git a/src/app/UnloadState.hpp b/src/app/UnloadState.hpp index 56394bb..877f8fb 100644 --- a/src/app/UnloadState.hpp +++ b/src/app/UnloadState.hpp @@ -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 #include @@ -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::iterator cur; std::list::iterator end;