Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExploreMap

Hierarchy

Implements

Index

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(): void
  • Returns void

encode

  • encode(): void
  • Returns void

get

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

    • x: number
    • y: number

    Returns number

getSerializationProperties

  • getSerializationProperties(version: string): string[]

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