Creatures are nearly ready

This commit is contained in:
2016-03-27 14:06:47 +11:00
parent cbf8538c24
commit 42b37be6f5
9 changed files with 87 additions and 41 deletions
+1
View File
@@ -34,6 +34,7 @@ int RoomManager::Create(std::string roomName, std::string tileset) {
RoomData* newRoom = &elementMap[counter]; //implicitly constructs the element
newRoom->SetName(roomName);
newRoom->SetTileset(tileset);
newRoom->SetRoomIndex(counter);
newRoom->SetLuaState(lua);
newRoom->SetDatabase(database);