Method | Description | |
---|---|---|
Add ( ) : Primitive |
Create a new timer. All timers created with this method call the event subroutine defned by Tick.
|
|
AddTick ( Primitive tick ) : Primitive |
Create a new timer. This timer only calls its own event subroutine.
|
|
Interval ( Primitive timer, Primitive interval ) : void |
Starts or resumes a timer.
|
|
Pause ( Primitive timer ) : void |
Pauses a timer. Tick events will not be raised.
|
|
Resume ( Primitive timer ) : void |
Resumes a timer from a paused state. Tick events will now be raised.
|
Method | Description | |
---|---|---|
GetNewTimer ( ) : ObjTimer |
public static AddTick ( Primitive tick ) : Primitive | ||
tick | Primitive | The event subroutine for this timer. |
return | Primitive |
public static Interval ( Primitive timer, Primitive interval ) : void | ||
timer | Primitive | The timer name. |
interval | Primitive | Sets the interval (in milliseconds) specifying how often the timer should raise the Tick event. This value can range from 10 to 100000000. |
return | void |
public static Pause ( Primitive timer ) : void | ||
timer | Primitive | The timer name. |
return | void |
public static Resume ( Primitive timer ) : void | ||
timer | Primitive | The timer name. |
return | void |