DayZ 1.24
|
AnimationTimer class. This timer is for animating float value.
usage:
More...
Protected Member Functions | |
void | AnimationTimer (int category=CALL_CATEGORY_SYSTEM) |
void | ~AnimationTimer () |
void | Run (float targetVal, Managed obj, string updateFunc, string finishedFunc, float startingVal=0, bool loop=false, float speed=1.0, Param params=null, int category=CALL_CATEGORY_SYSTEM) |
float | GetValue () |
Returns actual animated value. | |
override bool | IsRunning () |
override void | Tick (float timeslice) |
Ticks the timer, is called by timer subsystem. | |
Protected Attributes | |
Managed | m_TargetObject |
string | m_UpdateFunction |
string | m_FinishedFunction |
ref Param | m_Params |
Private Attributes | |
bool | m_Active |
float | m_TargetValue |
float | m_TargetValueOriginal |
float | m_Value |
Private Attributes inherited from TimerBase | |
Managed | m_target |
string | m_function |
ref Param | m_params |
Additional Inherited Members | |
Private Member Functions inherited from TimerBase | |
void | Timer (int category=CALL_CATEGORY_SYSTEM) |
void | Run (float duration, Managed obj, string fn_name, Param params=NULL, bool loop=false) |
Starts timer. | |
void | OnTimer () |
override void | Stop () |
AnimationTimer class. This timer is for animating float value.
usage:
|
inlineprotected |
|
inlineprotected |
Definition at line 633 of file tools.c.
References SetRunning().
|
inlineprotected |
|
inlineprotected |
Definition at line 638 of file tools.c.
References m_Active, m_FinishedFunction, m_loop, m_Params, m_TargetObject, m_TargetValue, m_TargetValueOriginal, m_time, m_UpdateFunction, m_Value, and SetRunning().
Ticks the timer, is called by timer subsystem.
Definition at line 668 of file tools.c.
References Math::AbsFloat(), GetGame(), m_Active, m_FinishedFunction, m_loop, m_Params, m_TargetObject, m_TargetValue, m_TargetValueOriginal, m_time, m_UpdateFunction, and m_Value.
|
private |
Definition at line 619 of file tools.c.
Referenced by IsRunning(), Run(), and Tick().
|
protected |
|
protected |
|
private |
|
private |
|
protected |
|
private |
Definition at line 622 of file tools.c.
Referenced by GetValue(), Run(), and Tick().