A structure representing a theoretical player match-up. Takes a list of players as input and then is able to split those players up into "semi balanced teams". Details can be found here.

Hierarchy

  • STMatch

Constructors

Properties

Methods

Constructors

  • new STMatch(...players: string[]): STMatch
  • Parameters

    • Rest ...players: string[]

      The names of the players involved in this theoretical match.

    Returns STMatch

Properties

evil?: string[]

An array of the players on team evil.

good?: string[]

An array of the players on team good.

players: string[]

The players this is splitting up into teams.

Methods

  • Asynchronously calls the API in order to split this.players up into the teams good and evil.

    Returns

    this object, which has the properties good and evil set accordingly.

    Returns Promise<STMatch>

Generated using TypeDoc