}
}
-void AnimationPlayer::stop(AnimatedObject &obj)
+void AnimationPlayer::stop(Placeable &obj)
{
objects.erase(&obj);
}
-void AnimationPlayer::stop(AnimatedObject &obj, const Animation &anim)
+void AnimationPlayer::stop(Placeable &obj, const Animation &anim)
{
ObjectMap::iterator i = objects.find(&obj);
if(i==objects.end())
void unobserve_events(AnimationEventObserver &);
/// Stops all animations affecting an object.
- void stop(AnimatedObject &);
+ void stop(Placeable &);
/// Stops a single animation affecting an object.
- void stop(AnimatedObject &, const Animation &);
+ void stop(Placeable &, const Animation &);
/** Advances all playing animations. Should be called in a regular manner,
preferably just before rendering. */