添加系统时间ticker

This commit is contained in:
17146 2024-09-20 21:27:59 +08:00
parent 9547944d15
commit c753d9234e

View file

@ -0,0 +1,15 @@
package net.mcreator.superbwarfare.tools;
public class AnimationTicker {
public static long startTime;
public static void reset() {
startTime = System.currentTimeMillis();
}
public static long getProgress() {
return System.currentTimeMillis() - startTime;
}
}