Otclient
14/8/2020
|
#include <animator.h>
Public Member Functions | |
Animator () | |
void | unserialize (int animationPhases, const FileStreamPtr &fin) |
void | serialize (const FileStreamPtr &fin) |
void | setPhase (int phase) |
int | getPhase () |
int | getPhaseAt (ticks_t time) |
int | getStartPhase () |
int | getAnimationPhases () |
bool | isAsync () |
bool | isComplete () |
ticks_t | getTotalDuration () |
void | resetAnimation () |
Public Member Functions inherited from stdext::shared_object | |
shared_object () | |
virtual | ~shared_object () |
void | add_ref () |
void | dec_ref () |
refcount_t | ref_count () |
template<typename T > | |
stdext::shared_object_ptr< T > | static_self_cast () |
template<typename T > | |
stdext::shared_object_ptr< T > | dynamic_self_cast () |
template<typename T > | |
stdext::shared_object_ptr< T > | const_self_cast () |
Definition at line 43 of file animator.h.
Animator::Animator | ( | ) |
Definition at line 29 of file animator.cpp.
|
inline |
Definition at line 56 of file animator.h.
int Animator::getPhase | ( | ) |
Definition at line 96 of file animator.cpp.
int Animator::getPhaseAt | ( | ticks_t | time | ) |
Definition at line 126 of file animator.cpp.
int Animator::getStartPhase | ( | ) |
Definition at line 144 of file animator.cpp.
ticks_t Animator::getTotalDuration | ( | ) |
Definition at line 219 of file animator.cpp.
|
inline |
Definition at line 57 of file animator.h.
|
inline |
Definition at line 58 of file animator.h.
void Animator::resetAnimation | ( | ) |
void Animator::serialize | ( | const FileStreamPtr & | fin | ) |
Definition at line 62 of file animator.cpp.
void Animator::setPhase | ( | int | phase | ) |
Definition at line 74 of file animator.cpp.
void Animator::unserialize | ( | int | animationPhases, |
const FileStreamPtr & | fin | ||
) |
Definition at line 43 of file animator.cpp.