private final class AbstractMasterTimer.MainLoop extends java.lang.Object implements DelayedRunnable
Modifier and Type | Field and Description |
---|---|
private boolean |
inactive |
private long |
lastPulseDuration |
private long |
nextPulseTime |
Modifier | Constructor and Description |
---|---|
private |
MainLoop() |
Modifier and Type | Method and Description |
---|---|
long |
getDelay()
Gets the delay in milliseconds.
|
void |
run() |
private void |
updateAnimationRunnable() |
private void |
updateNextPulseTime(long pulseStarted) |
private boolean inactive
private long nextPulseTime
private long lastPulseDuration
public void run()
run
in interface java.lang.Runnable
public long getDelay()
DelayedRunnable
getDelay
in interface DelayedRunnable
private void updateNextPulseTime(long pulseStarted)
private void updateAnimationRunnable()