Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IWorld

Hierarchy

Implemented by

Index

Properties

height

height: number

layers

layers: IWorldLayer[]

width

width: number

Methods

addLayer

  • addLayer(level: number): void
  • Parameters

    • level: number

    Returns void

deserializeObject

  • deserializeObject(serializer: ISerializer, version: string): void

isLoaded

  • isLoaded(): boolean
  • Returns boolean

load

  • load(): void
  • Returns void

resetExploredMap

  • resetExploredMap(): void
  • Returns void

serializeObject

  • serializeObject(serializer: ISerializer, version: string): 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): void
  • Parameters

    • x: number
    • y: number
    • z: number
    • tile: ITile

    Returns void

Generated using TypeDoc