Sprite Organiser - Strategy Pattern
Before I can start on the user story 4144362 I have to spend a little bit of time looking at the story 4144404. In particular this part,
Arrangement algorithms should be easily swapped in and out, but should not necessarily be visible to the user.
Strategy pattern is an obvious choice for easy algorithm switching. I’m going to introduce a sprite organiser, which is effectively a sprite sheet packer that organises sprites according to the slected algorithm/strategy. The initial or default strategy will simply stack sprites one after another similar to flow layout.
I need to add a new story for default sprite arrangement and investigate how the flow layout works.