X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fanimate.h;h=7c8165c6fcb3ee20bb657d1122ce16e77293c095;hb=4b2708d0a743f74dfc44ea4e4c08344e09c624a6;hp=30f0c527b9e952b0da433fa29e4073bd3f44f85e;hpb=02613d179c906075a0ad05a3aae46b3811f322aa;p=libs%2Fdemoscene.git diff --git a/source/animate.h b/source/animate.h index 30f0c52..7c8165c 100644 --- a/source/animate.h +++ b/source/animate.h @@ -1,6 +1,7 @@ #ifndef MSP_DEMOSCENE_ANIMATE_H_ #define MSP_DEMOSCENE_ANIMATE_H_ +#include #include #include #include "action.h" @@ -23,13 +24,14 @@ public: private: Msp::GL::Placeable *target; + Msp::GL::AnimatedObject *target_obj; const Msp::GL::Animation *anim; bool stacked; Msp::GL::AnimationPlayer *player; 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;