]> git.tdb.fi Git - libs/gl.git/blobdiff - source/animationplayer.cpp
Change AnimationPlayer::stop to take a Placeable
[libs/gl.git] / source / animationplayer.cpp
index a3c6ee2289b645be9ba628edb9e23c6112775b67..ac16321874a7abd612ad6cf39fdb69cf1fdb8cf4 100644 (file)
@@ -91,12 +91,12 @@ void AnimationPlayer::unobserve_events(AnimationEventObserver &observer)
        }
 }
 
-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())