Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Game

Hierarchy

  • Game

Index

Properties

Accessors

Properties

config

state

state: GameState

State of the game at this moment

Static DEFAULT_STATE

DEFAULT_STATE: GameState = GameState.notStarted

default board with and height if none is provided

Accessors

currentTime

  • get currentTime(): Date
  • set currentTime(value: Date): void
  • the actual current time elapsed since this game was started not counting when it was paused

    Returns Date

  • the actual current time elapsed since this game was started not counting when it was paused

    Parameters

    • value: Date

    Returns void

Generated using TypeDoc