Tuesday, June 23, 2015

SwitchTileClient Editor Revamp - Block Pusher

The other day I was in the middle of creating a puzzle when I realized the current classes that handle creating and editing a SwitchTile's clients could be much simpler if reduced to one class with less functionality. With that, I created the SwitchClientEditor class ditching about five other classes. So, when a SwitchTile is laid or clicked on to edit, only one class and GUI runs to handle everything. This makes it more work to change, delete, or swap multiple clients but keeps things simple; you can either add clients or delete them.