Implemented adding rooms to entrance rooms that didn't have an adjacent non entrance room.
This commit is contained in:
parent
0d8fe18849
commit
807656b112
7 changed files with 51 additions and 35 deletions
|
|
@ -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}" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue