Beispiel #1
0
        public void ResetRoom(List <RoomInfo> removeList, List <RoomInfo> addList, DoorPairingsTracker tracker)
        {
            foreach (DoorInfo door in doorList)
            {
                tracker.DisconnectDoor(door);
            }
            if (removeList != null)
            {
                removeList.Remove(this);
            }
            if (addList != null && !addList.Contains(this) && doorList.Count > 0)
            {
                addList.Add(this);
            }

            //Program.DebugLog("Clearing room " + roomName);
        }