ManaPlus
|
#include <animationdelayload.h>
Public Member Functions | |
AnimationDelayLoad (const std::string &fileName, const int variant, AnimatedSprite *const sprite) | |
~AnimationDelayLoad () | |
void | clearSprite () |
void | load () |
void | setAction (const std::string &action) |
Private Attributes | |
std::string | mFileName |
int | mVariant |
AnimatedSprite * | mSprite |
std::string | mAction |
Definition at line 31 of file animationdelayload.h.
AnimationDelayLoad::AnimationDelayLoad | ( | const std::string & | fileName, |
const int | variant, | ||
AnimatedSprite *const | sprite | ||
) |
Definition at line 32 of file animationdelayload.cpp.
AnimationDelayLoad::~AnimationDelayLoad | ( | ) |
Definition at line 42 of file animationdelayload.cpp.
References AnimatedSprite::clearDelayLoad(), and mSprite.
void AnimationDelayLoad::clearSprite | ( | ) |
Definition at line 51 of file animationdelayload.cpp.
References mSprite.
Referenced by AnimatedSprite::~AnimatedSprite().
void AnimationDelayLoad::load | ( | ) |
Definition at line 56 of file animationdelayload.cpp.
References Loader::getSprite(), mAction, mFileName, mSprite, mVariant, AnimatedSprite::play(), and AnimatedSprite::setSprite().
|
inline |
|
private |
Definition at line 53 of file animationdelayload.h.
Referenced by load(), and setAction().
|
private |
Definition at line 50 of file animationdelayload.h.
Referenced by load().
|
private |
Definition at line 52 of file animationdelayload.h.
Referenced by clearSprite(), load(), and ~AnimationDelayLoad().
|
private |
Definition at line 51 of file animationdelayload.h.
Referenced by load().