diff options
Diffstat (limited to 'src/gamebuilder.h')
-rw-r--r-- | src/gamebuilder.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/gamebuilder.h b/src/gamebuilder.h new file mode 100644 index 0000000..59b4b57 --- /dev/null +++ b/src/gamebuilder.h | |||
@@ -0,0 +1,30 @@ | |||
1 | #ifndef GAME_BUILDER_H | ||
2 | #define GAME_BUILDER_H | ||
3 | |||
4 | #include <bu/string.h> | ||
5 | |||
6 | #include "variable.h" | ||
7 | |||
8 | class GameBuilder | ||
9 | { | ||
10 | public: | ||
11 | GameBuilder(); | ||
12 | virtual ~GameBuilder(); | ||
13 | |||
14 | void setLiteral( const Variable &v ); | ||
15 | void setGameParam( const Bu::String &sName ); | ||
16 | |||
17 | void beginFunction( const Bu::String &sName ); | ||
18 | void endFunction(); | ||
19 | |||
20 | |||
21 | void beginSituation( const Bu::String &sName ); | ||
22 | void endSituation(); | ||
23 | |||
24 | private: | ||
25 | Variable vLiteral; | ||
26 | |||
27 | VariableHash hGameParams; | ||
28 | }; | ||
29 | |||
30 | #endif | ||