New Methods
#PanicRoom Day 076
#100DaysOfGameDev R2D41
#100DaysOfCode R2D41
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/08/2020-08-16_ShareX_changelog.png?resize=800%2C262&ssl=1)
Continuing with the HouseBuilder rewrite, it dawned on me that I should break up my HouseSetup() method into more parts that will make it easier to manage when I need to. This brought about the creation of LayFloor() and BuildExteriorWalls(). It made more sense to me to keep HouseSetup() more of a staging area that could then reach out to the other methods when they were needed. That way, if I identify an issue with any particular function I can address it directly without throwing any other code off. Today was spent doing a lot of rewriting because, of course, I saw areas for improvement as I was going. LayFloor() is completely written from scratch and it works perfectly. BuildExteriorWalls() is still a work in progress as there is an issue I am trying to work out.
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/08/2020-08-16_devenv_HouseSetup.png?resize=800%2C222&ssl=1)
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/08/2020-08-17_devenv_LayFloor.png?resize=800%2C309&ssl=1)
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/08/2020-08-17_devenv_BuildExteriorWalls_top-and-bottom.png?resize=800%2C291&ssl=1)
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/08/2020-08-16_Unity_broken_wall_placement.png?resize=485%2C283&ssl=1)