Property | Type | Description | |
---|---|---|---|
tag | object | ||
tickLength | float | ||
time | float |
Method | Description | |
---|---|---|
ForceTick ( ) : void |
Forces the timer to fire its tick event, invalidating the timer unless it is set to repeat.
|
|
Stop ( ) : void |
Stops the timer.
|
|
Timer ( float length, bool repeats, Action |
Creates a new Timer.
|
|
Update ( double elapsed ) : void |
Updates the timer.
|
Method | Description | |
---|---|---|
Reset ( float l, bool r, Action |
||
Timer ( ) : System |
public Timer ( float length, bool repeats, Action |
||
length | float | The length of time between ticks. |
repeats | bool | Whether or not the timer repeats. |
tick | Action |
The delegate to invoke when the timer ticks. |
return | System |