Timer float
This commit is contained in:
parent
d4703fb725
commit
a20d3bc07e
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user