ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

GUI::RepeatAnimationWrapper Class Reference

#include <RepeatAnimationWrapper.h>

Inheritance diagram for GUI::RepeatAnimationWrapper:
Collaboration diagram for GUI::RepeatAnimationWrapper:

List of all members.

Public Member Functions

 RepeatAnimationWrapper (AnimationPtr animation, uint16 timesToRepeat)
 Animation - animation to repeat.
virtual ~RepeatAnimationWrapper ()
virtual void update (Drawable *drawable, long currentTime)
virtual void start (long currentTime)
 Set start time in millis.

Private Attributes

uint16 _timesToRepeat
uint16 _repeatCount
AnimationPtr _animation

Detailed Description

Definition at line 32 of file RepeatAnimationWrapper.h.

Constructor & Destructor Documentation

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

Animation - animation to repeat.

timesToRepeat - 0 means infinite

Definition at line 39 of file RepeatAnimationWrapper.h.

virtual GUI::RepeatAnimationWrapper::~RepeatAnimationWrapper (  )  [inline, virtual]

Definition at line 42 of file RepeatAnimationWrapper.h.

Member Function Documentation

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

Set start time in millis.

Reimplemented from GUI::Animation.

Definition at line 44 of file RepeatAnimationWrapper.cpp.

void GUI::RepeatAnimationWrapper::update ( Drawable drawable,
long  currentTime 
) [virtual]

Reimplemented from GUI::Animation.

Definition at line 29 of file RepeatAnimationWrapper.cpp.

Member Data Documentation

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

Generated on Sat Sep 12 2020 05:04:43 for ResidualVM by doxygen 1.7.1
curved edge   curved edge