ScummVM API documentation
Grim::Chore Class Reference
Inheritance diagram for Grim::Chore:
Grim::EMIChore

Public Member Functions

 Chore (char name[32], int id, Costume *owner, int length, int numTracks)
 
void load (TextSplitter &ts)
 
virtual void play (uint msecs)
 
virtual void playLooping (uint msecs)
 
void setLooping (bool val)
 
virtual void stop (uint msecs)
 
virtual void update (uint time)
 
void setLastFrame ()
 
void fadeIn (uint msecs)
 
void fadeOut (uint msecs)
 
void setPaused (bool paused)
 
bool isPlaying ()
 
bool isPaused ()
 
bool isLooping ()
 
void advance (uint msecs)
 
const char * getName () const
 
int getChoreId ()
 
CostumegetOwner ()
 
virtual void saveState (SaveGame *state) const
 
virtual void restoreState (SaveGame *state)
 

Protected Member Functions

void setKeys (int startTime, int stopTime)
 
virtual void fade (Animation::FadeMode, uint msecs)
 
ComponentgetComponentForTrack (int i) const
 

Protected Attributes

Costume_owner
 
int _choreId
 
int _length
 
int _numTracks
 
ChoreTrack_tracks
 
char _name [32]
 
bool _hasPlayed
 
bool _playing
 
bool _looping
 
bool _paused
 
int _currTime
 

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