Public Member Functions | |
| 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) |
Public Member Functions inherited from hpl::iSaveObject | |
| int | GetSaveObjectId () |
| virtual void | SaveToSaveData (iSaveData *apSaveData) |
| virtual void | LoadFromSaveData (iSaveData *apSaveData) |
| virtual iSaveData * | CreateSaveData ()=0 |
| virtual void | SaveDataSetup (cSaveObjectHandler *apSaveObjectHandler, cGame *apGame) |
| void | SetIsSaved (bool abX) |
| bool | IsSaved () |
Additional Inherited Members | |
Protected Attributes inherited from hpl::iSaveObject | |
| iSaveData * | mpSaveData |
| bool hpl::cAnimationState::IsOver | ( | ) |
If the animation has reached the end.
| void hpl::cAnimationState::SetRelativeTimePosition | ( | float | afPosition | ) |
Set the relative position. 0 = start, 1 = end
| afPosition |
| float hpl::cAnimationState::GetRelativeTimePosition | ( | ) |
Get the relative position. 0 = start, 1 = end
|
virtual |
Creates the SaveData that this class uses.
Implements hpl::iSaveObject.
|
virtual |
Save it's data to a SaveData
Reimplemented from hpl::iSaveObject.
|
virtual |
Load it's data from a SaveData
Reimplemented from hpl::iSaveObject.
|
virtual |
After all objects have been created, this function is called to enable setup.
Reimplemented from hpl::iSaveObject.