Castlekeep
A isometric castle build simulator
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
castlekeep
src
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
CastleKeep::Renderer
Definition:
renderer.h:44
CastleKeep::InputManager
Definition:
input_manager.h:121
CastleKeep::Map
Definition:
map.h:34
CastleKeep::Window
Definition:
window.h:29
CastleKeep::Game
Definition:
game.h:34
Generated on Wed Mar 26 2014 14:23:47 for Castlekeep by
1.8.6