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