Exemplo n.º 1
0
 bool isRoomApplicable(RoomDoor roomDoor, Room newRoom)
 {
     if (actualState.RoomCount() + actualState.OpenDoorCount() + newRoom.doors.Count - 1 > roomLimit)
     {
         return(false);
     }
     return(true);
 }