Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExploreMap

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ExploreMap(width: number, height?: number): ExploreMap
  • Parameters

    • width: number
    • Default value height: number = width

    Returns ExploreMap

Properties

data

data: Uint8Array

height

height: number

size

size: number

width

width: number

Methods

clear

  • clear(): void

decode

  • decode(encodedData?: number[]): void
  • Parameters

    • Optional encodedData: number[]

    Returns void

encode

  • encode(): number[]
  • Returns number[]

get

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

    • x: number
    • y: number

    Returns number

rawSet

  • rawSet(i: number, value: number): void
  • Parameters

    • i: number
    • value: number

    Returns void

set

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

    • x: number
    • y: number
    • value: number

    Returns void

Generated using TypeDoc