Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Map<T>

Type parameters

  • T

Hierarchy

  • Map

Index

Properties

Methods

Properties

map

map: T[][]

The underlying map. Be warned this map maybe shifted so that 0 = minX etc...

Methods

get

  • get(x: number, y: number): T

set

  • set(x: number, y: number, value: T): void

setRange

  • setRange(minX: number, maxX: number, minY: number, maxY: number, value: T): void
  • Set all the cells in the range to value

    Parameters

    • minX: number
    • maxX: number
    • minY: number
    • maxY: number
    • value: T

    Returns void

Generated using TypeDoc