Room Splitter Clash
#PanicRoom Day 098
#100DaysOfGameDev R2D63
#100DaysOfCode R2D63
I spent the morning furiously re-writing my room analyzers so that they would work better now that I was tracking room data with the new Hashtable. It actually wasn’t too hard to implement and seemed to work nicely.
I laid down some comments to establish certain conditions that could happen and then went about writing the code that would handle those conditions.
Room Aa is able to be split and reassigns room data appropriately while creating a new room Ac.
The same is true when room Ab is split. In both case the room is split and the new measurements are saved as that room while the new room created by the split is push up and saved as the next incarnation of room in alphabetical order.
While splitting room Aa or room Ab worked flawless to generate a new room Ac, a situation arose where my code doesn’t yet allow for both rooms to be split in the same House build. This is something I am going to have to account for, but it shouldn’t be too terrible to solve as I feel my code base is pretty good at this point and I just need to account for this condition and fill in the missing pieces.