![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
AnimationTimer class. More...
Protected Member Functions | |
| void | AnimationTimer (int category=CALL_CATEGORY_SYSTEM) |
| void | ~AnimationTimer () |
| float | GetValue () |
| Returns actual animated value. | |
| override bool | IsRunning () |
| 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) |
| override void | Tick (float timeslice) |
| Ticks the timer, is called by timer subsystem. | |
Protected Attributes | |
| string | m_FinishedFunction |
| ref Param | m_Params |
| Managed | m_TargetObject |
| string | m_UpdateFunction |
Private Attributes | |
| bool | m_Active |
| float | m_TargetValue |
| float | m_TargetValueOriginal |
| float | m_Value |
| Private Attributes inherited from TimerBase | |
| string | m_function |
| ref Param | m_params |
| Managed | m_target |
Additional Inherited Members | |
| Private Member Functions inherited from TimerBase | |
| void | OnTimer () |
| void | Run (float duration, Managed obj, string fn_name, Param params=NULL, bool loop=false) |
| Starts timer. | |
| override void | Stop () |
| void | Timer (int category=CALL_CATEGORY_SYSTEM) |
AnimationTimer class.
This timer is for animating float value.
usage:
|
inlineprotected |
Definition at line 661 of file tools.c.
References CALL_CATEGORY_SYSTEM, and OnInit().
|
inlineprotected |
Definition at line 666 of file tools.c.
References SetRunning().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 671 of file tools.c.
References CALL_CATEGORY_SYSTEM, m_Active, m_FinishedFunction, m_loop, m_Params, m_TargetObject, m_TargetValue, m_TargetValueOriginal, m_time, m_UpdateFunction, m_Value, and SetRunning().
|
inlineprotected |
Ticks the timer, is called by timer subsystem.
Definition at line 700 of file tools.c.
References Math::AbsFloat(), g_Game, 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 652 of file tools.c.
Referenced by IsRunning(), Run(), and Tick().
|
protected |
|
protected |
|
protected |
|
private |
|
private |
|
protected |
|
private |
Definition at line 655 of file tools.c.
Referenced by GetValue(), Run(), and Tick().