Replaced RoomData's hooks with Initialize API function

This commit is contained in:
Kayne Ruse
2014-11-26 06:33:02 +11:00
parent 81a3a92603
commit 6485839dcf
6 changed files with 21 additions and 58 deletions
-11
View File
@@ -49,12 +49,6 @@ public:
RegionPagerLua* GetPager();
std::list<Entity*>* GetEntityList();
//hooks
int SetLoadReference(int);
int GetLoadReference();
int SetUnloadReference(int);
int GetUnloadReference();
private:
friend class RoomManager;
@@ -64,11 +58,6 @@ private:
RegionPagerLua pager;
std::list<Entity*> entityList;
//lua references
//TODO: use RoomData's lua references for load and unload functions
int loadRef = LUA_NOREF;
int unloadRef = LUA_NOREF;
};
#endif