finished rewriting the room API

This commit is contained in:
Kayne Ruse
2014-10-07 02:08:00 +11:00
parent 254b97aa80
commit 869780589f
4 changed files with 69 additions and 78 deletions
+6
View File
@@ -35,6 +35,9 @@ public:
//accessors and mutators
RegionPagerLua* GetPager() { return &pager; }
std::string SetRoomName(std::string s) { return roomName = s; }
std::string GetRoomName() { return roomName; }
std::string SetTilesetName(std::string s) { return tilesetName = s; }
std::string GetTilesetName() { return tilesetName; }
@@ -43,7 +46,10 @@ private:
//members
RegionPagerLua pager;
std::string roomName;
std::string tilesetName;
//TODO: pass the room name & tileset name to the clients
//TODO: lua references i.e. create, unload, etc.
};
#endif