Skip to content

Instantly share code, notes, and snippets.

@kennyrkun
Last active April 30, 2018 13:25
Show Gist options
  • Save kennyrkun/a9c8281dbdb782459cee4bc7d99fb18f to your computer and use it in GitHub Desktop.
Save kennyrkun/a9c8281dbdb782459cee4bc7d99fb18f to your computer and use it in GitHub Desktop.
animation manager
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