-#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>
public:
UnloadState(Environment &, ChunkLoader &);
+ void OnResume();
+
void Handle(const SDL_Event &) override;
void Update(int dt) override;
void Render(Viewport &) override;
private:
Environment &env;
ChunkLoader &loader;
- Font font;
Progress progress;
std::list<Chunk>::iterator cur;
std::list<Chunk>::iterator end;