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
+1
View File
@@ -26,5 +26,6 @@ dumpTable(roomSystem.RoomManager)
dumpTable(roomSystem.Room)
local overworld = roomSystem.RoomManager.CreateRoom("overworld")
roomSystem.Room.Initialize(overworld, "overworld.bmp", mapSaver.Load, mapSaver.Save, mapMaker.debugIsland, mapSaver.Save)
print("Finished the lua script")