ScummVM API documentation
GUI::Animation Class Referenceabstract
Inheritance diagram for GUI::Animation:
GUI::AlphaAnimation GUI::ParallelAnimation GUI::RepeatAnimationWrapper GUI::ScaleAnimation GUI::SequenceAnimationComposite GUI::WaitForConditionAnimation

Public Member Functions

virtual void update (Drawable *drawable, long currentTime)
 
virtual void start (long currentTime)
 
virtual void setDuration (long duration)
 
virtual bool isFinished () const
 
bool isFinishOnEnd () const
 
void setFinishOnEnd (bool finishOnEnd)
 
InterpolatorPtr getInterpolator () const
 
void setInterpolator (InterpolatorPtr interpolator)
 

Protected Member Functions

void finishAnimation ()
 
virtual void updateInternal (Drawable *drawable, float interpolation)
 

Protected Attributes

long _startTime
 
long _duration
 
bool _finished
 
bool _finishOnEnd
 
InterpolatorPtr _interpolator
 

Member Function Documentation

◆ start()

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

◆ setDuration()

virtual void GUI::Animation::setDuration ( long  duration)
virtual

Set duration in millis

Reimplemented in GUI::ParallelAnimation.


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