Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Player

Represents a Player

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

id

id: string

name

name: string

score

score: number = 0

Methods

getHand

getIndex

  • getIndex(): string

setHand

  • setHand(hand: IHand): this

toString

  • toString(): string

updateScore

  • updateScore(score: number): this

Generated using TypeDoc