{
while (shouldBeRunningLive.get())
{
- long current = tf.getAsLong();
+ long current = tf.getTime();
timeline.executeUntil(timeline.laterThan(current), System.currentTimeMillis() + 10);
long nextEventTime = timeline.nextEventTime();
long sleepTime;
return isPaused.get();
}
+ public double getSpeedFactor()
+ {
+ return tf.getSpeedFactor();
+ }
+
public void setSpeedFactor(double factor)
{
tf.setSpeedFactor(factor);