summaryrefslogtreecommitdiffstats
path: root/sigencore/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigencore/Client.cpp')
-rw-r--r--sigencore/Client.cpp31
1 files changed, 30 insertions, 1 deletions
diff --git a/sigencore/Client.cpp b/sigencore/Client.cpp
index a176a335..5cbbca9b 100644
--- a/sigencore/Client.cpp
+++ b/sigencore/Client.cpp
@@ -23,7 +23,10 @@ using namespace Sigencore;
Client::Client(GameWrapper* game, Config* parent) :
Config(parent),
- m_game(game)
+ m_game(game),
+ m_arena(NULL),
+ m_world(NULL),
+ m_canvas(NULL)
{
}
@@ -31,6 +34,11 @@ Client::~Client()
{
}
+Arena* Client::arena()
+{
+ return m_arena;
+}
+
bool Client::enterArena(Arena* arena)
{
m_arena = arena;
@@ -41,3 +49,24 @@ void Client::exitArena()
{
m_arena = NULL;
}
+
+Overworld* Client::world()
+{
+ return m_world;
+}
+
+bool Client::enterWorld(Overworld* world)
+{
+ m_world = world;
+ return true;
+}
+
+void Client::exitWorld()
+{
+ m_world = NULL;
+}
+
+Canvas* Client::canvas()
+{
+ return m_canvas;
+}