ClockRange

ClockRange

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

See:
Source:

Members

<static, constant> :ClockRange

When Clock#startTime or Clock#stopTime is reached, Clock#tick will not advance Clock#currentTime any further.
Default Value:
  • 1

<static, constant> :ClockRange

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
Default Value:
  • 2

<static, constant> :ClockRange

Clock#tick will always advances the clock in its current direction.
Default Value:
  • 0