|
| cAnimationState (cAnimation *apAnimation, const tString &asName, cAnimationManager *apAnimationManager) |
|
const char * | GetName () |
|
void | Update (float afTimeStep) |
|
bool | IsFading () |
|
bool | IsOver () |
|
void | FadeIn (float afTime) |
|
void | FadeOut (float afTime) |
|
void | SetLength (float afLength) |
|
float | GetLength () |
|
void | SetWeight (float afWeight) |
|
float | GetWeight () |
|
void | SetSpeed (float afSpeed) |
|
float | GetSpeed () |
|
void | SetBaseSpeed (float afSpeed) |
|
float | GetBaseSpeed () |
|
void | SetTimePosition (float afPosition) |
|
float | GetTimePosition () |
|
float | GetPreviousTimePosition () |
|
void | SetRelativeTimePosition (float afPosition) |
|
float | GetRelativeTimePosition () |
|
bool | IsActive () |
|
void | SetActive (bool abActive) |
|
bool | IsLooping () |
|
void | SetLoop (bool abLoop) |
|
bool | IsPaused () |
|
void | SetPaused (bool abPaused) |
|
void | SetSpecialEventTime (float afT) |
|
float | GetSpecialEventTime () |
|
bool | IsAfterSpecialEvent () |
|
bool | IsBeforeSpecialEvent () |
|
void | AddTimePosition (float afAdd) |
|
cAnimation * | GetAnimation () |
|
cAnimationEvent * | CreateEvent () |
|
cAnimationEvent * | GetEvent (int alIdx) |
|
int | GetEventNum () |
|
float | GetFadeStep () |
|
void | SetFadeStep (float afX) |
|
virtual iSaveData * | CreateSaveData () |
|
virtual void | SaveToSaveData (iSaveData *apSaveData) |
|
virtual void | LoadFromSaveData (iSaveData *apSaveData) |
|
virtual void | SaveDataSetup (cSaveObjectHandler *apSaveObjectHandler, cGame *apGame) |
|
int | GetSaveObjectId () |
|
void | SetIsSaved (bool abX) |
|
bool | IsSaved () |
|
◆ IsOver()
bool hpl::cAnimationState::IsOver |
( |
| ) |
|
If the animation has reached the end.
◆ SetRelativeTimePosition()
void hpl::cAnimationState::SetRelativeTimePosition |
( |
float |
afPosition | ) |
|
Set the relative position. 0 = start, 1 = end
- Parameters
-
◆ GetRelativeTimePosition()
float hpl::cAnimationState::GetRelativeTimePosition |
( |
| ) |
|
Get the relative position. 0 = start, 1 = end
◆ CreateSaveData()
virtual iSaveData* hpl::cAnimationState::CreateSaveData |
( |
| ) |
|
|
virtual |
◆ SaveToSaveData()
virtual void hpl::cAnimationState::SaveToSaveData |
( |
iSaveData * |
apSaveData | ) |
|
|
virtual |
◆ LoadFromSaveData()
virtual void hpl::cAnimationState::LoadFromSaveData |
( |
iSaveData * |
apSaveData | ) |
|
|
virtual |
◆ SaveDataSetup()
After all objects have been created, this function is called to enable setup.
Reimplemented from hpl::iSaveObject.
The documentation for this class was generated from the following file: