summary refs log tree commit diff stats
path: root/src/game.h
blob: 382270013cc01620640f49eb4a51aeab1b5a5d0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 */