MCPcopy Create free account
hub / github.com/badvision/jace / TimedDevice

Method TimedDevice

src/main/java/jace/core/TimedDevice.java:66–71  ·  view source on GitHub ↗

Creates a new instance of TimedDevice, setting default speed Protected as overriding the tick handler should only done for the independent timed device

(boolean throttleUsingTicks)

Source from the content-addressed store, hash-verified

64 * for the independent timed device
65 */
66 protected TimedDevice(boolean throttleUsingTicks) {
67 super();
68 setSpeedInHz(defaultCyclesPerSecond());
69 tickHandler = throttleUsingTicks ? throttledTick : unthrottledTick;
70 resetSyncTimer();
71 }
72
73 public TimedDevice() {
74 this(true);

Callers

nothing calls this directly

Calls 3

setSpeedInHzMethod · 0.95
resetSyncTimerMethod · 0.95

Tested by

no test coverage detected