From 428c401f9c1053f7e13ffe641758dfb72791d8dc Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 26 Jun 2015 19:59:28 -0400 Subject: Player now moves --- src/game.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/game.h (limited to 'src/game.h') 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 @@ +#ifndef GAME_H_1014DDC9 +#define GAME_H_1014DDC9 + +#include "renderer.h" +#include "entity_manager.h" +#include "system_manager.h" + +class Game { + public: + Game(GLFWwindow* window); + + void execute(); + EntityManager& getEntityManager(); + + friend void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods); + + private: + EntityManager entityManager; + SystemManager systemManager; + GLFWwindow* const window; + bool shouldQuit = false; +}; + +#endif /* end of include guard: GAME_H_1014DDC9 */ -- cgit 1.4.1