Last active
April 30, 2018 13:25
-
-
Save kennyrkun/a9c8281dbdb782459cee4bc7d99fb18f to your computer and use it in GitHub Desktop.
animation manager
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class AnimatedObject | |
| { | |
| public: | |
| void Update() | |
| void Draw | |
| sf::vector startposition; | |
| sf::vector endposition; | |
| } | |
| class AnimationManager | |
| { | |
| public: | |
| void Update() | |
| { | |
| for (animatedobjects) | |
| { | |
| object.update(); | |
| } | |
| } | |
| private: | |
| std::vector<AnimatedObject&> | |
| } | |
| showNewsStatus(bool) | |
| if true | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment