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 () |
| Costume * | getOwner () |
| 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) |
| Component * | getComponentForTrack (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 |