gbaudic/linbound2

Sprite class

gbaudic opened this issue · 0 comments

Add a base class for animated 2D objects (aka Sprites). All steps have the same duration, specified on construction. Drawing a Sprite requires setting the right SDL_Rect to show the right step AND the right state.