35class ScriptTimer :
public Listener
44 timertype_e timerType;
52 CLASS_PROTOTYPE( ScriptTimer );
54 ScriptTimer( timertype_e type = TIMER_NORMAL );
57#if defined(ARCHIVE_SUPPORTED)
58 void Archive(
Archiver &arc )
override;
61 void Think(
Event *ev );
68 float GetCurrentTime();
72 float LerpValue(
float start,
float end );
76 void SetCurrentTime(
float time );
77 void SetPhase(
float phase );
78 void SetTime(
float time );
81 void setType( timertype_e type );