diff --git a/DungeonMapGenerator/DungeonMapConsolePrinter/Program.cs b/DungeonMapGenerator/DungeonMapConsolePrinter/Program.cs index 4dfcb0b..be2ab01 100644 --- a/DungeonMapGenerator/DungeonMapConsolePrinter/Program.cs +++ b/DungeonMapGenerator/DungeonMapConsolePrinter/Program.cs @@ -4,6 +4,9 @@ using DungeonMapGenerator; class Program { + private const string SAVED_DUNGEONS_PATH = @"C:\Users\User\repos\PuzzleGame\Dungeons"; + private const string DUNGEON_NAME = "dungeon"; + static void Main(string[] args) { // Create an instance of your DungeonMapGenerator class @@ -11,7 +14,8 @@ class Program generator.GenerateDungeon(25, .5f); // Call the method you want to run - var map = generator.GenerateDungeon(25, .5f); + DungeonMap map = generator.GenerateDungeon(25, .5f); + DungeonMapSerializer.SerializeToFile(map, SAVED_DUNGEONS_PATH, DUNGEON_NAME ); // Print the map to the console (assuming it returns a string or something printable) Console.WriteLine(map.GetMapAsString()); diff --git a/DungeonMapGenerator/DungeonMapConsolePrinter/bin/Debug/net9.0/DungeonMapConsolePrinter.dll b/DungeonMapGenerator/DungeonMapConsolePrinter/bin/Debug/net9.0/DungeonMapConsolePrinter.dll index 9f40139..43170ba 100644 Binary files a/DungeonMapGenerator/DungeonMapConsolePrinter/bin/Debug/net9.0/DungeonMapConsolePrinter.dll and b/DungeonMapGenerator/DungeonMapConsolePrinter/bin/Debug/net9.0/DungeonMapConsolePrinter.dll differ diff --git a/DungeonMapGenerator/DungeonMapConsolePrinter/bin/Debug/net9.0/DungeonMapConsolePrinter.exe b/DungeonMapGenerator/DungeonMapConsolePrinter/bin/Debug/net9.0/DungeonMapConsolePrinter.exe index 3145996..80eba3c 100644 Binary files a/DungeonMapGenerator/DungeonMapConsolePrinter/bin/Debug/net9.0/DungeonMapConsolePrinter.exe and b/DungeonMapGenerator/DungeonMapConsolePrinter/bin/Debug/net9.0/DungeonMapConsolePrinter.exe differ diff --git a/DungeonMapGenerator/DungeonMapConsolePrinter/bin/Debug/net9.0/DungeonMapGenerator.dll b/DungeonMapGenerator/DungeonMapConsolePrinter/bin/Debug/net9.0/DungeonMapGenerator.dll index b34853f..bf76f80 100644 Binary files a/DungeonMapGenerator/DungeonMapConsolePrinter/bin/Debug/net9.0/DungeonMapGenerator.dll and b/DungeonMapGenerator/DungeonMapConsolePrinter/bin/Debug/net9.0/DungeonMapGenerator.dll differ diff --git a/DungeonMapGenerator/DungeonMapGenerator/DungeonMap.cs b/DungeonMapGenerator/DungeonMapGenerator/DungeonMap.cs index c221631..950e5c9 100644 --- a/DungeonMapGenerator/DungeonMapGenerator/DungeonMap.cs +++ b/DungeonMapGenerator/DungeonMapGenerator/DungeonMap.cs @@ -2,25 +2,34 @@ using System; using System.Collections.Generic; using System.Linq; using System.Text; +using Newtonsoft.Json; namespace DungeonMapGenerator { public class DungeonMap { + [JsonProperty("Width")] private int _width; + [JsonProperty("Height")] private int _height; + [JsonProperty("MonsterRooms")] private List _monsterRooms = new List(); + [JsonProperty("EntranceRooms")] private List _entranceRooms = new List(); + [JsonProperty("NormalRooms")] private List _normalRooms = new List(); + [JsonProperty("BossRoom")] private Room _bossRoom; private HashSet _unoccupiedPoints = new HashSet(); private HashSet _occupiedPoints = new HashSet(); + public DungeonMap(){ } + public DungeonMap(int width, int height) { - _width = width; + this._width = width; _height = height; - _unoccupiedPoints.AddRange(Enumerable.Range(0, _width) + _unoccupiedPoints.AddRange(Enumerable.Range(0, this._width) .SelectMany(x => Enumerable.Range(0, _height) .Select(y => new Point(x,y)))); } diff --git a/DungeonMapGenerator/DungeonMapGenerator/DungeonMapSerializer.cs b/DungeonMapGenerator/DungeonMapGenerator/DungeonMapSerializer.cs index 7f19e67..aba3fda 100644 --- a/DungeonMapGenerator/DungeonMapGenerator/DungeonMapSerializer.cs +++ b/DungeonMapGenerator/DungeonMapGenerator/DungeonMapSerializer.cs @@ -7,14 +7,25 @@ namespace DungeonMapGenerator public class DungeonMapSerializer { // Serialize DungeonMap to JSON file - public static void SerializeToFile(DungeonMap dungeonMap, string filePath) + public static void SerializeToFile(DungeonMap dungeonMap, string directoryPath, string name) { try { - // Convert DungeonMap object to JSON string + string baseFilePath = Path.Combine(directoryPath, $"{name}.json"); + string filePath = baseFilePath; + int counter = 1; + + // Check if the file exists and rename it + while (File.Exists(filePath)) + { + filePath = Path.Combine(directoryPath, $"{name}{counter:00}.json"); // e.g., name01.json, name02.json + counter++; + } + + // Serialize the object string json = JsonConvert.SerializeObject(dungeonMap, Formatting.Indented); - // Write JSON string to a file + // Write JSON to the new file File.WriteAllText(filePath, json); } catch (Exception ex) diff --git a/DungeonMapGenerator/DungeonMapGenerator/Room.cs b/DungeonMapGenerator/DungeonMapGenerator/Room.cs index 2aa3108..723ed6c 100644 --- a/DungeonMapGenerator/DungeonMapGenerator/Room.cs +++ b/DungeonMapGenerator/DungeonMapGenerator/Room.cs @@ -1,6 +1,8 @@ using System; using System.Collections.Generic; using System.Linq; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; namespace DungeonMapGenerator { @@ -11,6 +13,7 @@ namespace DungeonMapGenerator Left, Right } + [JsonConverter(typeof(StringEnumConverter))] public enum RoomType { Normal, diff --git a/DungeonMapGenerator/DungeonMapGenerator/bin/Debug/netstandard2.0/DungeonMapGenerator.dll b/DungeonMapGenerator/DungeonMapGenerator/bin/Debug/netstandard2.0/DungeonMapGenerator.dll index b34853f..bf76f80 100644 Binary files a/DungeonMapGenerator/DungeonMapGenerator/bin/Debug/netstandard2.0/DungeonMapGenerator.dll and b/DungeonMapGenerator/DungeonMapGenerator/bin/Debug/netstandard2.0/DungeonMapGenerator.dll differ diff --git a/Dungeons/dungeon.json b/Dungeons/dungeon.json new file mode 100644 index 0000000..d335719 --- /dev/null +++ b/Dungeons/dungeon.json @@ -0,0 +1,1234 @@ +{ + "Width": 40, + "Height": 28, + "MonsterRooms": [ + { + "TypeOfRoom": "Monster", + "Height": 4, + "Width": 4, + "PositionOfTopLeft": { + "X": 2, + "Y": 3 + } + }, + { + "TypeOfRoom": "Monster", + "Height": 4, + "Width": 4, + "PositionOfTopLeft": { + "X": 34, + "Y": 20 + } + }, + { + "TypeOfRoom": "Monster", + "Height": 4, + "Width": 4, + "PositionOfTopLeft": { + "X": 10, + "Y": 21 + } + }, + { + "TypeOfRoom": "Monster", + "Height": 4, + "Width": 4, + "PositionOfTopLeft": { + "X": 28, + "Y": 0 + } + }, + { + "TypeOfRoom": "Monster", + "Height": 4, + "Width": 4, + "PositionOfTopLeft": { + "X": 16, + "Y": 5 + } + }, + { + "TypeOfRoom": "Monster", + "Height": 4, + "Width": 4, + "PositionOfTopLeft": { + "X": 23, + "Y": 23 + } + }, + { + "TypeOfRoom": "Monster", + "Height": 4, + "Width": 4, + "PositionOfTopLeft": { + "X": 7, + "Y": 11 + } + } + ], + "EntranceRooms": [ + { + "TypeOfRoom": "Entrance", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 14, + "Y": 0 + } + }, + { + "TypeOfRoom": "Entrance", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 16, + "Y": 0 + } + }, + { + "TypeOfRoom": "Entrance", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 18, + "Y": 0 + } + }, + { + "TypeOfRoom": "Entrance", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 20, + "Y": 0 + } + }, + { + "TypeOfRoom": "Entrance", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 22, + "Y": 0 + } + }, + { + "TypeOfRoom": "Entrance", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 24, + "Y": 0 + } + }, + { + "TypeOfRoom": "Entrance", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 38, + "Y": 8 + } + }, + { + "TypeOfRoom": "Entrance", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 38, + "Y": 10 + } + }, + { + "TypeOfRoom": "Entrance", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 38, + "Y": 12 + } + }, + { + "TypeOfRoom": "Entrance", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 38, + "Y": 14 + } + }, + { + "TypeOfRoom": "Entrance", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 38, + "Y": 16 + } + }, + { + "TypeOfRoom": "Entrance", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 38, + "Y": 18 + } + } + ], + "NormalRooms": [ + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 0, + "Y": 7 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 0, + "Y": 2 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 0, + "Y": 1 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 6, + "Y": 6 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 34, + "Y": 24 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 34, + "Y": 18 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 32, + "Y": 21 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 38, + "Y": 23 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 13, + "Y": 25 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 10, + "Y": 19 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 8, + "Y": 25 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 26, + "Y": 0 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 29, + "Y": 4 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 32, + "Y": 0 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 14, + "Y": 5 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 17, + "Y": 3 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 20, + "Y": 4 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 21, + "Y": 23 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 27, + "Y": 22 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 22, + "Y": 21 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 11, + "Y": 15 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 11, + "Y": 13 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 5, + "Y": 9 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 8, + "Y": 9 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 13, + "Y": 14 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 20, + "Y": 15 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 22, + "Y": 7 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 25, + "Y": 7 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 2, + "Y": 9 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 1, + "Y": 11 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 3, + "Y": 9 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 3, + "Y": 11 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 2, + "Y": 13 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 4, + "Y": 13 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 4, + "Y": 15 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 6, + "Y": 16 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 8, + "Y": 16 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 8, + "Y": 18 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 10, + "Y": 17 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 8, + "Y": 19 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 28, + "Y": 6 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 30, + "Y": 7 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 32, + "Y": 9 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 34, + "Y": 8 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 34, + "Y": 10 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 34, + "Y": 12 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 36, + "Y": 10 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 36, + "Y": 12 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 35, + "Y": 14 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 12, + "Y": 17 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 14, + "Y": 19 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 12, + "Y": 19 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 14, + "Y": 17 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 16, + "Y": 19 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 14, + "Y": 21 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 30, + "Y": 23 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 28, + "Y": 24 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 29, + "Y": 22 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 27, + "Y": 20 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 25, + "Y": 18 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 24, + "Y": 20 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 26, + "Y": 18 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 28, + "Y": 19 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 26, + "Y": 20 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 24, + "Y": 2 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 22, + "Y": 3 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 24, + "Y": 5 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 26, + "Y": 3 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 12, + "Y": 3 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 12, + "Y": 5 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 14, + "Y": 7 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 12, + "Y": 8 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 10, + "Y": 7 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 10, + "Y": 9 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 8, + "Y": 7 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 19, + "Y": 25 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 17, + "Y": 23 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 15, + "Y": 23 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 16, + "Y": 25 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 14, + "Y": 23 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 12, + "Y": 25 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 3, + "Y": 7 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 1, + "Y": 5 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 33, + "Y": 16 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 35, + "Y": 18 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 35, + "Y": 16 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 33, + "Y": 14 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 31, + "Y": 12 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 29, + "Y": 10 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 27, + "Y": 12 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 29, + "Y": 14 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 31, + "Y": 16 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 31, + "Y": 14 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 29, + "Y": 12 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 27, + "Y": 10 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 25, + "Y": 12 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 27, + "Y": 14 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 29, + "Y": 16 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 31, + "Y": 18 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 15, + "Y": 3 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 23, + "Y": 19 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 25, + "Y": 17 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 23, + "Y": 15 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 21, + "Y": 17 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 19, + "Y": 17 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 17, + "Y": 15 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 6, + "Y": 11 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 8, + "Y": 5 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 10, + "Y": 3 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 12, + "Y": 1 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 22, + "Y": 5 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 20, + "Y": 7 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 29, + "Y": 20 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 13, + "Y": 11 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 11, + "Y": 11 + } + }, + { + "TypeOfRoom": "Normal", + "Height": 2, + "Width": 2, + "PositionOfTopLeft": { + "X": 13, + "Y": 9 + } + } + ], + "BossRoom": { + "TypeOfRoom": "Boss", + "Height": 6, + "Width": 10, + "PositionOfTopLeft": { + "X": 15, + "Y": 9 + } + } +} \ No newline at end of file