2
0
ncannasse 8 жил өмнө
parent
commit
00832fd14c
1 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  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.;
+	}
+
 }