Encapsulated RoomData, did some other refactoring

This commit is contained in:
Kayne Ruse
2014-08-14 00:13:19 +10:00
parent 6d98bab000
commit 98ffcb8cd3
6 changed files with 44 additions and 33 deletions
+11 -4
View File
@@ -25,12 +25,19 @@
//map system
#include "region_pager_lua.hpp"
struct RoomData {
class RoomData {
public:
RoomData() = default;
~RoomData() = default;
//accessors and mutators
RegionPagerLua* GetPager() { return &pager; }
private:
friend class RoomManager;
//members
RegionPagerLua pager;
//TODO: collision map
//TODO: NPCs?
};
#endif