]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/animate.h
Stop the animation when the action ends
[libs/demoscene.git] / source / animate.h
index 50e279c57e67ae618f95bc6ea5efa70efbbbb569..ef497fa6b36d56dfaad6fee9fce41488b575b51a 100644 (file)
@@ -31,11 +31,12 @@ private:
 
 public:
        Animate();
-       Animate(Msp::GL::Placeable &, const Msp::GL::Animation &, Msp::GL::AnimationPlayer &);
+       Animate(Msp::GL::Placeable &, const Msp::GL::Animation &, Msp::GL::AnimationPlayer &, bool = false);
 
        virtual void validate() const;
 
        virtual void start(float, float);
+       virtual void end(float);
 };
 
 } // namespace DemoScene