Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Grid

Index

Constructors

constructor

  • new Grid(cols: number, rows: number): Grid

Properties

cells

cells: Cell[]

cols

cols: number

focusCell

focusCell: Cell

rows

rows: number

Methods

clear

  • clear(): void

Private createCells

  • createCells(): void

Private defineNeighboors

  • defineNeighboors(): void

get

  • get(x: any, y: any): Cell

Private updateCell

  • updateCell(newCell: Cell): void

Legend

  • Constructor
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Private property
  • Private method
  • Property
  • Static method

Generated using TypeDoc