Structuring our ships
So far, our ships are just instances of SPImage
with tweens attached to them right inside our battlefield scene. In order to keep code duplication to a minimum, let's refactor the ship logic into its own class.
So far, our ships are just instances of SPImage
with tweens attached to them right inside our battlefield scene. In order to keep code duplication to a minimum, let's refactor the ship logic into its own class.