24 #ifndef GUI_ANIMATION_PARALLELANIMATION_H 25 #define GUI_ANIMATION_PARALLELANIMATION_H 27 #include "gui/animation/Animation.h" 28 #include "common/array.h" 38 _animations.push_back(animation);
41 virtual void update(
Drawable *drawable,
long currentTime) {
43 anim->update(drawable, currentTime);
44 if (anim->isFinished()) {
50 virtual void start(
long currentTime) {
54 anim->start(currentTime);
61 anim->setDuration(duration);
virtual void start(long currentTime)
Definition: Animation.h:33
virtual void start(long currentTime)
Definition: ParallelAnimation.h:50
Definition: ParallelAnimation.h:32
virtual void setDuration(long duration)
Definition: ParallelAnimation.h:57
virtual void setDuration(long duration)
Definition: Drawable.h:37