Constants used by
Clock#tick
to determine behavior
when Clock#startTime
or Clock#stopTime
is reached.Properties:
Name | Type | Description |
---|---|---|
UNBOUNDED |
Number | Clock#tick will always advances the clock in its current direction. |
CLAMPED |
Number | When Clock#startTime or Clock#stopTime is reached,
Clock#tick will not advance Clock#currentTime any further. |
LOOP_STOP |
Number | 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 |
See:
Members
When
Clock#startTime
or Clock#stopTime
is reached,
Clock#tick
will not advance Clock#currentTime
any further.
-
Default Value:
1
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
Clock#tick
will always advances the clock in its current direction.