Options
All
  • Public
  • Public/Protected
  • All
Menu

Definition of each Cell on a SubBoard

Hierarchy

  • Cell

Index

Constructors

constructor

  • new Cell(coordinates?: Coord, player?: PlayerOrTie, subBoardIndex?: number, mainIndex?: number): Cell
  • Parameters

    • Default value coordinates: Coord = [0, 0]
    • Default value player: PlayerOrTie = -1
    • Default value subBoardIndex: number = -1
    • Default value mainIndex: number = -1

    Returns Cell

Properties

coordinates

coordinates: Coord

mainIndex

mainIndex: number

player

player: PlayerOrTie

subBoardIndex

subBoardIndex: number

Methods

copy

isPlayed

  • isPlayed(): boolean

Generated using TypeDoc