Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IWorld

Hierarchy

Implemented by

Index

Properties

height

height: number

layers

layers: Record<number, IWorldLayer>

width

width: number

Methods

addLayer

  • addLayer(level: number): void
  • Parameters

    • level: number

    Returns void

delete

  • delete(): void
  • Returns void

deserializeObject

isLoaded

  • isLoaded(): boolean
  • Returns boolean

load

  • load(): void
  • Returns void

serializeObject

setupExploredMap

  • setupExploredMap(): void
  • Returns void

toLocal

  • toLocal(world: number, local: number): number
  • Parameters

    • world: number
    • local: number

    Returns number

updateAll

  • updateAll(): void
  • Returns void

updateTile

  • updateTile(x: number, y: number, z: number, tile: ITile, tileUpdateType: TileUpdateType): void
  • Parameters

    Returns void

Generated using TypeDoc