diff options
Diffstat (limited to 'src/command.h')
-rw-r--r-- | src/command.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/command.h b/src/command.h index f36fc14..f82e87e 100644 --- a/src/command.h +++ b/src/command.h | |||
@@ -12,10 +12,18 @@ public: | |||
12 | void addLiteral( const Bu::String &sValue ); | 12 | void addLiteral( const Bu::String &sValue ); |
13 | void addParam( const Bu::String &sValue ); | 13 | void addParam( const Bu::String &sValue ); |
14 | 14 | ||
15 | /** | ||
16 | * Get the list of parameters IN REVERSE ORDER. | ||
17 | */ | ||
18 | Bu::StringList getParamList() const; | ||
19 | |||
15 | void setAst( class AstBranch *pAst ); | 20 | void setAst( class AstBranch *pAst ); |
16 | 21 | ||
17 | void print(); | 22 | void print(); |
18 | 23 | ||
24 | bool matches( const Bu::StringList &lCmd ); | ||
25 | void exec( class GameState &gState, const Bu::StringList &lCmd ); | ||
26 | |||
19 | private: | 27 | private: |
20 | class Chunk | 28 | class Chunk |
21 | { | 29 | { |