tournament-organizer
    Preparing search index...

    Class Manager

    Class representing a tournament manager.

    Index

    Constructors

    Methods

    • Create a new tournament.

      Throws an error if ID is specified and already exists.

      Parameters

      • name: string

        Name of the tournament

      • settings: SettableTournamentValues = {}

        Settings of the tournament

      • id: string = undefined

        ID of the tournament (randomly assigned if omitted)

      Returns Tournament

      The newly created tournament

    • Remove a tournament from the manager.

      Throws an error if no tournament has the specified ID.

      Parameters

      • id: string

        ID of the tournament to be removed

      Returns Tournament

      The removed tournament