ClockRange

ClockRange

ClockRange

Constants used by Clock#tick to determine behavior when Clock#startTime or Clock#stopTime is reached.

See:

Members

<static> CLAMPED

When Clock#startTime or Clock#stopTime is reached, Clock#tick will not advance Clock#currentTime any further.

<static> LOOP_STOP

When Clock#stopTime is reached, Clock#tick will advance Clock#currentTime to the opposite end of the interval. When time is moving backwards, Clock#tick will not advance past Clock#startTime

<static> UNBOUNDED

Clock#tick will always advances the clock in its current direction.