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

Grim::Actor::ActionChore Class Reference

Collaboration diagram for Grim::Actor::ActionChore:

List of all members.

Public Member Functions

 ActionChore ()
 ActionChore (Costume *cost, int chore)
void play (bool fade=false, unsigned int time=fadeTime)
void playLooping (bool fade=false, unsigned int time=fadeTime)
void stop (bool fade=false, unsigned int time=fadeTime)
void setLastFrame ()
bool isValid () const
bool isPlaying () const
bool equals (const Costume *cost, int chore) const
void saveState (SaveGame *state) const
void restoreState (SaveGame *state, Actor *actor)

Public Attributes

int _chore

Static Public Attributes

static const unsigned int fadeTime = 150
static const unsigned int talkFadeTime = 50

Detailed Description

Definition at line 639 of file actor.h.

Constructor & Destructor Documentation

Grim::Actor::ActionChore::ActionChore (  ) 

Definition at line 2581 of file actor.cpp.

Grim::Actor::ActionChore::ActionChore ( Costume cost,
int  chore 

Definition at line 2587 of file actor.cpp.

Member Function Documentation

bool Grim::Actor::ActionChore::equals ( const Costume cost,
int  chore 
) const [inline]

Definition at line 651 of file actor.h.

bool Grim::Actor::ActionChore::isPlaying (  )  const

Definition at line 2629 of file actor.cpp.

bool Grim::Actor::ActionChore::isValid (  )  const [inline]

Definition at line 649 of file actor.h.

void Grim::Actor::ActionChore::play ( bool  fade = false,
unsigned int  time = fadeTime 

Definition at line 2593 of file actor.cpp.

void Grim::Actor::ActionChore::playLooping ( bool  fade = false,
unsigned int  time = fadeTime 

Definition at line 2603 of file actor.cpp.

void Grim::Actor::ActionChore::restoreState ( SaveGame state,
Actor actor 

Definition at line 2643 of file actor.cpp.

void Grim::Actor::ActionChore::saveState ( SaveGame state  )  const

Definition at line 2633 of file actor.cpp.

void Grim::Actor::ActionChore::setLastFrame (  ) 

Definition at line 2623 of file actor.cpp.

void Grim::Actor::ActionChore::stop ( bool  fade = false,
unsigned int  time = fadeTime 

Definition at line 2613 of file actor.cpp.

Member Data Documentation

Definition at line 659 of file actor.h.

Definition at line 658 of file actor.h.

unsigned const int Grim::Actor::ActionChore::fadeTime = 150 [static]

Definition at line 661 of file actor.h.

unsigned const int Grim::Actor::ActionChore::talkFadeTime = 50 [static]

Definition at line 662 of file actor.h.

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

Generated on Sat Sep 19 2020 05:04:59 for ResidualVM by doxygen 1.7.1
curved edge   curved edge