summaryrefslogtreecommitdiff
path: root/src/gamestate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamestate.cpp')
-rw-r--r--src/gamestate.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gamestate.cpp b/src/gamestate.cpp
index 0b721d4..b87f658 100644
--- a/src/gamestate.cpp
+++ b/src/gamestate.cpp
@@ -5,6 +5,8 @@
5#include "astleaf.h" 5#include "astleaf.h"
6#include "astleafliteral.h" 6#include "astleafliteral.h"
7 7
8#include <gats/types.h>
9
8#include <bu/sio.h> 10#include <bu/sio.h>
9using namespace Bu; 11using namespace Bu;
10 12
@@ -20,6 +22,13 @@ GameState::~GameState()
20{ 22{
21} 23}
22 24
25Gats::Object *GameState::toGats() const
26{
27 Gats::Dictionary *pRoot = new Gats::Dictionary;
28
29 Gats::Dictionary *pSit = pRoot->insertDict("situations");
30}
31
23void GameState::parse( class AstBranch *pAst ) 32void GameState::parse( class AstBranch *pAst )
24{ 33{
25 if( pAst->getType() != AstNode::tScope ) 34 if( pAst->getType() != AstNode::tScope )