diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-06-26 19:59:28 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-06-26 19:59:28 -0400 |
commit | 428c401f9c1053f7e13ffe641758dfb72791d8dc (patch) | |
tree | 3b7c74e0346db3d08319e309c37e975e19395d74 /src/game.h | |
parent | 55c8a14a7e2b2dadf0def3e09f970818164366f5 (diff) | |
download | therapy-428c401f9c1053f7e13ffe641758dfb72791d8dc.tar.gz therapy-428c401f9c1053f7e13ffe641758dfb72791d8dc.tar.bz2 therapy-428c401f9c1053f7e13ffe641758dfb72791d8dc.zip |
Player now moves
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 24 |
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 | |||
8 | class 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 */ | ||