Interface AudioClockEvent

interface AudioClockEvent {
    clock: JGOFPlayerClock;
    color: PlayerColor;
    countdown_seconds: number;
    in_overtime: boolean;
    player_id: string;
    time_control_system: JGOFTimeControlSystem;
}

Properties

Full player clock information

The player whose turn it is

countdown_seconds: number

Number of seconds left in the current period

in_overtime: boolean

True if we are in overtime. This is only ever set for systems that have a concept of overtime.

player_id: string

The player (id) whose turn it is

time_control_system: JGOFTimeControlSystem

Time control system being used by the clock