Options
All
  • Public
  • Public/Protected
  • All
Menu

A player in a player group, used mostly in tracking data

Hierarchy

  • PitchPlayer

Implements

  • IPlayer

Index

Constructors

Properties

speed: number

speed of the player in the current state in ??/h

x: number

Position on the length of the field as percentage of the field length

y: number

Position on the width of the field as percentage of the field width

Accessors

  • get captain(): boolean
  • True if the player is the captain at the start of the game.

    Returns boolean

  • get firstName(): string
  • First name of the player.

    Returns string

  • get id(): string
  • id of the player

    Returns string

  • get knownName(): string
  • Short name (or the common name used to refer to) of the player

    Returns string

  • get lastName(): string
  • Last (family) name of the player.

    Returns string

  • get role(): string
  • Role of the player

    Returns string

  • get shirtNumber(): string
  • Shirt number of the player in the current game.

    Returns string

  • get substitute(): boolean
  • True if the player was a substitute at the start of the game.

    Returns boolean

  • Team of the player

    Returns Team