I'm working on a project and can't figure this out. This is a bit advanced (I think). I spawn unique rooms into my level in a grid layout. Every room are the same dimensions. The doors are at the same position at all of those rooms (but some only have the north door and some have the north, south door. I want to spawn hallways. Here is a picture of what I want at the end.
I have 4 types of hallways: - 2 Door Straight - 2 Door Corner - 3 Door T - 4 door intersec. But what is the best way to implement this?