Class GameHighScore

Hierarchy (view full)

Constructors

Properties

Accessors

Methods

Constructors

Properties

position: number

Position in high score table for the game

score: number

Score

user: User

User

Accessors

Methods

  • Protected

    Patches the current instance with new data

    Parameters

    • data: Record<string, any>

      The data to patch the instance with

    Returns Record<string, any>

    The patched data

  • Protected

    Updates the current instance with new data and returns a clone of the updated instance

    Parameters

    • data: Record<string, any>

      The data to update the instance with

    Returns Base

    A clone of the updated instance