diff options
Diffstat (limited to 'src/environment.h')
-rw-r--r-- | src/environment.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/environment.h b/src/environment.h index e69de29..e728c50 100644 --- a/src/environment.h +++ b/src/environment.h | |||
@@ -0,0 +1,28 @@ | |||
1 | #ifndef ENVIRONMENT_H | ||
2 | #define ENVIRONMENT_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 | |||
10 | class Environment | ||
11 | { | ||
12 | public: | ||
13 | Environment(); | ||
14 | virtual ~Environment(); | ||
15 | |||
16 | private: | ||
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 | ||