Options
All
  • Public
  • Public/Protected
  • All
Menu

A match period

Hierarchy

  • Period

Index

Constructors

  • new Period(id: number, duration: number, name: string, extra?: boolean): Period
  • Parameters

    • id: number
    • duration: number
    • name: string
    • extra: boolean = false

    Returns Period

Properties

duration: number

total duration of the period (in minutes)

extra: boolean

true if the period is an extra time

id: number

identifier of the period, as used in the events

leftTeamId: string = null

the team defending the left part of the field (when appliable)

name: string

name of the period

realDuration?: number

The real duration of the period in seconds, can be useful also for live games