A base class for the Game Component

Hierarchy

  • GameComponent

Implements

  • OnInit

Constructors

  • The constructor for the Game class

    Parameters

    • dialog: MatDialog

      The Add Game popup dialog

    • gameService: GameService

      The GameService for retrieving and sending Game data

    Returns GameComponent

Properties

dialog: MatDialog

The Add Game popup dialog

displayedColumns: string[] = ...

The column titles for the Game table

gameList: Game[] = []

An array to store Game data

gameService: GameService

The GameService for retrieving and sending Game data

title: string = 'Games'

The Page title

Methods

  • Trigger the Add Game popup dialog

    Returns void

  • Call the GameService to retrieve Game data and filter data based on Logged in users ID

    Returns void

  • Executes when this Component is loaded and calls getGames() method

    Returns void

Generated using TypeDoc