The timer is preprogrammed with a series of tick interval triggers, such that the timer only ticks when the time remaining matches one of these triggers. When the timer ticks, the lobby players are informed about the time remaining, and when the timer finishes, the arena's auto-start-timer is started. If the {@code display-timer-as-level} flag is set, the timerwill tick once per second, updating the player levels.
The timer realizes a semi-"Null Object" pattern if the duration (i.e. the value of the start-delay-timer setting) is 0, where calling the timer's {@link #start()} method only starts the auto-start-timer.
|
|