ncannasse 8 anos atrás
pai
commit
00832fd14c
1 arquivos alterados com 5 adições e 0 exclusões
  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.;
+	}
+
 }