Options
All
  • Public
  • Public/Protected
  • All
Menu

Used to keep track of the data behind a GraphicsTerminal.

Hierarchy

  • CellData

Implements

Index

Constructors

constructor

  • new CellData(width: number, height: number): CellData

Properties

Protected changed

changed: boolean[] = []

Array of booleans to keep track of what data has been changed since last update.

Protected data

data: number[] = []

Array of numbers that map to a characters in a CharacterSet

Protected height

height: number

Height of data.

Protected width

width: number

Width of data.

Methods

doneChange

  • doneChange(index: number): void

getCell

  • getCell(index: number): number

getHeight

  • getHeight(): number

getWidth

  • getWidth(): number

hasBeenChanged

  • hasBeenChanged(index: number): boolean

Protected initChanged

  • initChanged(): void

Protected initData

  • initData(): void

numberOfCells

  • numberOfCells(): number

setCell

  • setCell(value: number, index: number): void

Generated using TypeDoc