summary refs log tree commit diff stats
path: root/src/game.h
blob: ec667c8f9c6a6b1c908b5847c9c4ba2ec8cf323a (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 */