X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fanimate.h;h=7c8165c6fcb3ee20bb657d1122ce16e77293c095;hb=4b2708d0a743f74dfc44ea4e4c08344e09c624a6;hp=31d1641c97b6ad696acc190fc02aed93e4dac286;hpb=462cb9fc40ae7fec26615c652e95991be89ea8ae;p=libs%2Fdemoscene.git diff --git a/source/animate.h b/source/animate.h index 31d1641..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,12 +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;