Generic enemy class
Closed this issue · 0 comments
saricden commented
Right now JumperBot
extends Sprite
directly, but it would be good to have an extra layer of abstraction between them, such as a generic NPC class which extends from Sprite or Container, and a Enemy class which extends from NPC. JumperBot could then extend enemy, and it would make creating new enemies a breeze.