]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/animate.h
Dynamically check for AnimatedObject in Animate
[libs/demoscene.git] / source / animate.h
index 30f0c527b9e952b0da433fa29e4073bd3f44f85e..50e279c57e67ae618f95bc6ea5efa70efbbbb569 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_DEMOSCENE_ANIMATE_H_
 #define MSP_DEMOSCENE_ANIMATE_H_
 
+#include <msp/gl/animatedobject.h>
 #include <msp/gl/animation.h>
 #include <msp/gl/animationplayer.h>
 #include "action.h"
@@ -23,6 +24,7 @@ public:
 
 private:
        Msp::GL::Placeable *target;
+       Msp::GL::AnimatedObject *target_obj;
        const Msp::GL::Animation *anim;
        bool stacked;
        Msp::GL::AnimationPlayer *player;