Timer float
This commit is contained in:
@@ -15,7 +15,7 @@ class Timer {
|
|||||||
/**
|
/**
|
||||||
Create new timer with timeout in seconds.
|
Create new timer with timeout in seconds.
|
||||||
**/
|
**/
|
||||||
public function new(timeout:Int, callback:Callback<Noise>) {
|
public function new(timeout:Float, callback:Callback<Noise>) {
|
||||||
timerID = OS.startTimer(timeout);
|
timerID = OS.startTimer(timeout);
|
||||||
this.callback = callback;
|
this.callback = callback;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user