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.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h new file mode 100644 index 0000000..3822700 --- /dev/null +++ b/src/game.h
@@ -0,0 +1,24 @@
1#ifndef GAME_H_1014DDC9
2#define GAME_H_1014DDC9
3
4#include "renderer.h"
5#include "entity_manager.h"
6#include "system_manager.h"
7
8class Game {
9 public:
10 Game(GLFWwindow* window);
11
12 void execute();
13 EntityManager& getEntityManager();
14
15 friend void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods);
16
17 private:
18 EntityManager entityManager;
19 SystemManager systemManager;
20 GLFWwindow* const window;
21 bool shouldQuit = false;
22};
23
24#endif /* end of include guard: GAME_H_1014DDC9 */