diff options
Diffstat (limited to 'src/gamestate.h')
-rw-r--r-- | src/gamestate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gamestate.h b/src/gamestate.h index 5825cfa..2249c25 100644 --- a/src/gamestate.h +++ b/src/gamestate.h | |||
@@ -12,6 +12,8 @@ class Interface; | |||
12 | namespace Gats | 12 | namespace Gats |
13 | { | 13 | { |
14 | class Object; | 14 | class Object; |
15 | class Dictionary; | ||
16 | class List; | ||
15 | } | 17 | } |
16 | 18 | ||
17 | class GameState | 19 | class GameState |
@@ -21,6 +23,7 @@ public: | |||
21 | virtual ~GameState(); | 23 | virtual ~GameState(); |
22 | 24 | ||
23 | Gats::Object *toGats() const; | 25 | Gats::Object *toGats() const; |
26 | void fromGats( Gats::Dictionary *pRoot ); | ||
24 | 27 | ||
25 | Interface *getInterface() { return pIface; } | 28 | Interface *getInterface() { return pIface; } |
26 | 29 | ||
@@ -54,6 +57,8 @@ private: | |||
54 | 57 | ||
55 | Gats::Object *scopeToGats( const Scope *pSrc ) const; | 58 | Gats::Object *scopeToGats( const Scope *pSrc ) const; |
56 | Gats::Object *variableToGats( const Variable &rVar ) const; | 59 | Gats::Object *variableToGats( const Variable &rVar ) const; |
60 | void gatsToScope( Gats::Dictionary *pRoot, Scope *pSrc ) const; | ||
61 | Variable gatsToVariable( Gats::List *pLst ) const; | ||
57 | 62 | ||
58 | private: | 63 | private: |
59 | typedef Bu::List<Scope *> ScopeList; | 64 | typedef Bu::List<Scope *> ScopeList; |