summary refs log tree commit diff stats
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h index cea154a..ca6c00b 100644 --- a/src/game.h +++ b/src/game.h
@@ -33,7 +33,6 @@ class Game {
33 void loadGame(const Map& curMap); 33 void loadGame(const Map& curMap);
34 void schedule(int frames, std::function<void ()>&& callback); 34 void schedule(int frames, std::function<void ()>&& callback);
35 35
36 bool shouldQuit = false;
37 private: 36 private:
38 friend void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods); 37 friend void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods);
39 38
@@ -45,6 +44,7 @@ class Game {
45 Map m2{"../maps/second.txt"}; 44 Map m2{"../maps/second.txt"};
46 Savefile save; 45 Savefile save;
47 std::list<std::pair<int, std::function<void ()>>> scheduled; 46 std::list<std::pair<int, std::function<void ()>>> scheduled;
47 bool shouldQuit = false;
48}; 48};
49 49
50#endif 50#endif