예제 #1
0
 public Dungeon(int width, int height, int countOfRooms, DungeonDifficult difficult, List <IRoom> rooms)
 {
     Width        = width;
     Height       = height;
     CountOfRooms = countOfRooms;
     Difficult    = difficult;
     Rooms        = rooms;
 }
예제 #2
0
 /// <summary>
 /// Установка сложности подземелья
 /// </summary>
 /// <param name="difficult">сложность</param>
 /// <returns></returns>
 public DungeonConfigurationBuilder <T> DifficultIs(DungeonDifficult difficult)
 {
     _configuration.Difficult = difficult;
     return(this);
 }