ncannasse hace 8 años
padre
commit
00832fd14c
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      hxd/Timer.hx

+ 5 - 0
hxd/Timer.hx

@@ -31,4 +31,9 @@ class Timer {
 		oldTime = haxe.Timer.stamp();
 	}
 
+	public static function reset() {
+		oldTime = haxe.Timer.stamp();
+		calc_tmod = 1.;
+	}
+
 }