Class TestClock
java.lang.Object
com.gtnewhorizons.horizonqa.internal.TestClock
Monotonic logical tick counter shared by a single
TestEventRecorder. Advanced once per server
tick by GameTestInstance#tick() and once per simulated tick by the time-warp handler, so the
tick on a TestEvent reflects ticks of simulated
machine time, not wall-clock server ticks.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TestClock
public TestClock()
-
-
Method Details
-
tick
public int tick() -
advance
public void advance()
-