Updated room system and room API, more to come

There's a lot of verbosity in the scripts, so it might be beneficial to
redice that at some point.
This commit is contained in:
Kayne Ruse
2014-12-31 04:52:10 +11:00
parent f9c19a630d
commit 8e50be24d4
8 changed files with 93 additions and 46 deletions
+6 -4
View File
@@ -40,15 +40,17 @@ public:
~RoomData() = default;
//accessors and mutators
std::string SetRoomName(std::string s);
std::string GetRoomName();
std::string SetName(std::string);
std::string GetName();
std::string SetTilesetName(std::string s);
std::string GetTilesetName();
std::string SetTileset(std::string);
std::string GetTileset();
RegionPagerLua* GetPager();
std::list<Entity*>* GetEntityList();
//TODO: triggers for unload, save, per-second, player enter, player exit, etc.
private:
friend class RoomManager;