Options
All
  • Public
  • Public/Protected
  • All
Menu

Module MapGen

Index

Variables

finishedLoading

finishedLoading: boolean = false

Functions

generateWorld

  • generateWorld(generateNewWorld: boolean, callback: function): void
  • Parameters

    • generateNewWorld: boolean
    • callback: function
        • (): void
        • Returns void

    Returns void

setFinishedLoading

  • setFinishedLoading(): void
  • Returns void

spawnDoodad

  • spawnDoodad(tileType: TerrainType, x: number, y: number, z: number, afterMapGen?: boolean): void
  • Parameters

    • tileType: TerrainType
    • x: number
    • y: number
    • z: number
    • Optional afterMapGen: boolean

    Returns void

spawnHouseItem

  • spawnHouseItem(x: number, y: number, z: number): void
  • Parameters

    • x: number
    • y: number
    • z: number

    Returns void

spawnShoreItem

  • spawnShoreItem(x: number, y: number, z: number): void
  • Parameters

    • x: number
    • y: number
    • z: number

    Returns void

spawnTemplate

  • spawnTemplate(templateType: TileTemplateType, x: number, y: number, z: number): void
  • Parameters

    Returns void

Generated using TypeDoc