ScummVM API documentation
GUI::RepeatAnimationWrapper Class Reference
Inheritance diagram for GUI::RepeatAnimationWrapper:
GUI::Animation

Public Member Functions

 RepeatAnimationWrapper (AnimationPtr animation, uint16 timesToRepeat)
 
virtual void update (Drawable *drawable, long currentTime)
 
virtual void start (long currentTime)
 
- Public Member Functions inherited from GUI::Animation
virtual void setDuration (long duration)
 
virtual bool isFinished () const
 
bool isFinishOnEnd () const
 
void setFinishOnEnd (bool finishOnEnd)
 
InterpolatorPtr getInterpolator () const
 
void setInterpolator (InterpolatorPtr interpolator)
 

Additional Inherited Members

- Protected Member Functions inherited from GUI::Animation
void finishAnimation ()
 
virtual void updateInternal (Drawable *drawable, float interpolation)
 
- Protected Attributes inherited from GUI::Animation
long _startTime
 
long _duration
 
bool _finished
 
bool _finishOnEnd
 
InterpolatorPtr _interpolator
 

Constructor & Destructor Documentation

◆ RepeatAnimationWrapper()

GUI::RepeatAnimationWrapper::RepeatAnimationWrapper ( AnimationPtr  animation,
uint16  timesToRepeat 
)
inline

Animation - animation to repeat

timesToRepeat - 0 means infinite

Member Function Documentation

◆ start()

virtual void GUI::RepeatAnimationWrapper::start ( long  currentTime)
virtual

Set start time in millis

Reimplemented from GUI::Animation.


The documentation for this class was generated from the following file: