Minimum Hallway Width
Noofbiz opened this issue · comments
Hello! I'm building a random dungeon with GenerateRandomRooms
, but when it connects the rooms it uses a width of only one tile. With the wall tiles forming corners, this causes the hallways to be impassable. Is there a way to control the width of the connections? This could be fixed by passing a number other than one to the DrawLine call on this line.
I can do the PR for the fix, I'm just wondering how you'd like it done. If I add a parameter to GenerateRandomRooms
that would change the API, so if you want to avoid that I can add a separate function like GenerateRandomRoomsMinHallwayConnections
or something so other people won't need to update their code upon updating dngn
.