24 #ifndef GUI_ANIMATION_WAITFORCONDITIONANIMATION_H 25 #define GUI_ANIMATION_WAITFORCONDITIONANIMATION_H 27 #include "gui/animation/Animation.h" 36 virtual bool evaluate() = 0;
49 virtual void update(
Drawable *drawable,
long currentTime) {
51 if (_condition.get() != NULL && _condition->evaluate()) {
56 ConditionPtr getCondition()
const {
60 void setCondition(ConditionPtr condition) {
61 _condition = condition;
65 ConditionPtr _condition;
Definition: Animation.h:33
Definition: WaitForConditionAnimation.h:31
Definition: WaitForConditionAnimation.h:44
Definition: Drawable.h:37