Implemented adding rooms to entrance rooms that didn't have an adjacent non entrance room.

This commit is contained in:
Max 2025-02-20 10:11:45 +01:00
parent 0d8fe18849
commit 807656b112
7 changed files with 51 additions and 35 deletions

View file

@ -13,8 +13,8 @@ class Program
var generator = new DungeonGenerator();
// Call the method you want to run
int width = 30;
int height = 20;
int width = 100;
int height = 50;
DungeonMap map = generator.GenerateDungeon(width, height, 5);
DungeonLockPopulator.PopulateLocksOfDungeon(map);
DungeonMapSerializer.SerializeToFile(map, SAVED_DUNGEONS_PATH, $"{DUNGEON_NAME} {width}x{height}" );