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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user