Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TileAtlas

Hierarchy

  • TileAtlas

Index

Properties

doodadItems

doodads

doodads: OptionalDescriptions<DoodadType, DoodadInfo>

mounds

mounds: OptionalDescriptions<TerrainType, DoodadInfo>

terrainDecoration

Methods

generateLookups

  • generateLookups(): void
  • Returns void

getBaseWaterType

  • getBaseWaterType(type: TerrainType): TerrainType
  • Parameters

    • type: TerrainType

    Returns TerrainType

getTerrain

  • Parameters

    • terrainType: TerrainType
    • biomeType: BiomeType | undefined

    Returns undefined | TerrainTileInfo

getTerrainTilled

  • Parameters

    • terrainType: TerrainType
    • biomeType: BiomeType | undefined

    Returns undefined | TerrainTileInfo

isFloor

  • isFloor(type: TerrainType): boolean
  • Parameters

    • type: TerrainType

    Returns boolean

isFreezingWater

  • isFreezingWater(type: TerrainType): boolean
  • Parameters

    • type: TerrainType

    Returns boolean

isFreshWater

  • isFreshWater(type: TerrainType): boolean
  • Parameters

    • type: TerrainType

    Returns boolean

isIce

  • isIce(type: TerrainType): boolean
  • Parameters

    • type: TerrainType

    Returns boolean

isLava

  • isLava(type: TerrainType): boolean
  • Parameters

    • type: TerrainType

    Returns boolean

isMountain

  • isMountain(type: TerrainType): boolean
  • Parameters

    • type: TerrainType

    Returns boolean

isMountainGround

  • isMountainGround(type: TerrainType): boolean
  • Parameters

    • type: TerrainType

    Returns boolean

isOre

  • isOre(type: TerrainType): boolean
  • Parameters

    • type: TerrainType

    Returns boolean

isWater

  • isWater(type: TerrainType): boolean
  • Parameters

    • type: TerrainType

    Returns boolean

isWaterOrIce

  • isWaterOrIce(type: TerrainType): boolean
  • Parameters

    • type: TerrainType

    Returns boolean

setTerrain

  • Parameters

    Returns void

setTerrainTilled

  • Parameters

    Returns void

shouldRenderOverMountainTypes

  • shouldRenderOverMountainTypes(type: TerrainType): boolean
  • Parameters

    • type: TerrainType

    Returns boolean

Generated using TypeDoc