Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprite class #8

Open
gbaudic opened this issue Feb 4, 2019 · 0 comments
Open

Sprite class #8

gbaudic opened this issue Feb 4, 2019 · 0 comments
Assignees
Milestone

Comments

@gbaudic
Copy link
Owner

gbaudic commented Feb 4, 2019

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.

@gbaudic gbaudic self-assigned this Feb 4, 2019
@gbaudic gbaudic added this to the 0.1 milestone Feb 4, 2019
gbaudic added a commit that referenced this issue Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant