Timer float

This commit is contained in:
Djeeberjr 2022-03-01 12:54:36 +01:00
parent d4703fb725
commit a20d3bc07e

View File

@ -15,7 +15,7 @@ class Timer {
/**
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);
this.callback = callback;