Castlekeep
A isometric castle build simulator
 All Classes Namespaces
game.h
1 
23 #ifndef GAME_H
24 #define GAME_H
25 
26 #include "map.h"
27 #include "window.h"
28 #include "renderer.h"
29 #include "input_manager.h"
30 
31 namespace CastleKeep
32 {
33 
34  class Game
35  {
36  public:
37 
38  Game(WindowBackend backend, int width, int height, bool fullscreen);
39 
40  virtual ~Game();
41 
42  int run();
43 
44  void stop();
45 
46  protected:
47 
48  virtual void update();
49 
50  virtual void draw();
51 
52  bool _run;
53  Map *_map;
54  Window *_window;
55  InputManager *_input_manager;
56  Renderer *_renderer;
57  };
58 
59 }
60 
61 #endif
Definition: renderer.h:44
Definition: input_manager.h:121
Definition: map.h:34
Definition: window.h:29
Definition: game.h:34