summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-12-23 00:52:32 -0700
committerMike Buland <eichlan@xagasoft.com>2011-12-23 00:52:32 -0700
commit7a53f0e95a5ffe13a21fc8d2076e34ee96693ac0 (patch)
tree7b8a69448e3399786a71b0bd8295ccdfa0b6f68c /src/game.h
parent58a71e57e3824a3a0c5385af91421674395990dc (diff)
downloadstage-7a53f0e95a5ffe13a21fc8d2076e34ee96693ac0.tar.gz
stage-7a53f0e95a5ffe13a21fc8d2076e34ee96693ac0.tar.bz2
stage-7a53f0e95a5ffe13a21fc8d2076e34ee96693ac0.tar.xz
stage-7a53f0e95a5ffe13a21fc8d2076e34ee96693ac0.zip
The game is actually being built now.
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
new file mode 100644
index 0000000..a5b1163
--- /dev/null
+++ b/src/game.h
@@ -0,0 +1,28 @@
1#ifndef GAME_H
2#define GAME_H
3
4#include <bu/string.h>
5#include <bu/hash.h>
6#include "function.h"
7#include "situation.h"
8#include "scope.h"
9
10class Game
11{
12public:
13 Game();
14 virtual ~Game();
15
16private:
17 typedef Bu::Hash<Bu::String, Function *> FunctionHash;
18 typedef Bu::Hash<Bu::String, Situation *> SituationHash;
19 typedef Bu::Hash<Bu::String, Scope *> ScopeHash;
20 FunctionHash hFunction;
21 SituationHash hSituation;
22 ScopeHash hSituationScope;
23 Scope sGlobal;
24 Scope sPlayer;
25 Bu::String sCurSituation;
26};
27
28#endif