public RoomIndexIterator(RoomLayout[, ,] roomGrid, eIterationType type) { m_roomIndex = new RoomIndex(-1, 0, 0); m_roomGrid = roomGrid; m_iterationType = type; Next(); }
public RoomIndexIterator(RoomLayout[, ,] roomGrid) { m_roomIndex = new RoomIndex(-1, 0, 0); m_roomGrid = roomGrid; m_iterationType = eIterationType.nonNullRooms; Next(); }