X-Git-Url: http://git.tdb.fi/?p=libs%2Fdemoscene.git;a=blobdiff_plain;f=source%2Fanimate.cpp;h=a7e406d73ae80c3428b5fe91d214820dffc645bf;hp=c7eed389dd917e6436ca685c5a74ff84cad723dc;hb=4b2708d0a743f74dfc44ea4e4c08344e09c624a6;hpb=08fa4d11a07a52e62eb4e30730d2a2b9cdcb568d diff --git a/source/animate.cpp b/source/animate.cpp index c7eed38..a7e406d 100644 --- a/source/animate.cpp +++ b/source/animate.cpp @@ -8,14 +8,17 @@ namespace DemoScene { Animate::Animate(): target(0), + target_obj(0), anim(0), stacked(false), player(0) { } -Animate::Animate(GL::Placeable &t, const GL::Animation &a, GL::AnimationPlayer &p): +Animate::Animate(GL::Placeable &t, const GL::Animation &a, GL::AnimationPlayer &p, bool s): target(&t), + target_obj(0), anim(&a), + stacked(s), player(&p) { }