Method | Description | |
---|---|---|
Create ( float tickLength, bool repeats, Action |
Creates a new Timer.
|
|
GetInstance ( ) : |
||
Update ( double elapsed ) : void |
Updates all timers in the collection.
|
Method | Description | |
---|---|---|
TimerCollection ( ) : System |
public Create ( float tickLength, bool repeats, Action |
||
tickLength | float | The amount of time between the timer's ticks. |
repeats | bool | Whether or not the timer repeats. |
tick | Action |
An action to perform when the timer ticks. |
return |
public static GetInstance ( ) : |
||
return |