}
}
public final void setTimeLast(double last) {
timeLast = Math.max(last, timeNow);
eventManager.enqueueEvent(new ScheduledEvent(null, timeLast, null, null));
eventManager.enqueueEvent(new ScheduledEvent(null, Double.POSITIVE_INFINITY, null, null));
}