ScummVM API documentation
Grim::Animation Class Reference

Public Types

enum  RepeatMode { Once = 0, Looping = 1, PauseAtEnd = 2, FadeAtEnd = 3 }
 
enum  FadeMode { None = 0, FadeIn = 1, FadeOut = 2 }
 

Public Member Functions

 Animation (const Common::String &keyframe, AnimManager *manager, int pr1, int pr2)
 
void activate ()
 
void deactivate ()
 
void play (RepeatMode repeatMode)
 
void fade (FadeMode fadeMode, int fadeLength)
 
void pause (bool pause)
 
void stop ()
 
bool getIsActive () const
 
FadeMode getFadeMode () const
 
int update (uint time)
 
void saveState (SaveGame *state) const
 
void restoreState (SaveGame *state)
 

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