gbaudic opened this issue 6 years ago · 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.
SDL_Rect