Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Water

Hierarchy

Implements

Index

Methods

adapt

  • adapt(world: IWorldLayer, x: number, y: number, terrainType: TerrainType, result: ITileAdaptation, debug?: undefined | false | true): void

Protected getTerrainBeneathTile

  • getTerrainBeneathTile(x: number, y: number, ignoreWater?: undefined | false | true): TerrainType
  • Parameters

    • x: number
    • y: number
    • Optional ignoreWater: undefined | false | true

    Returns TerrainType

Generated using TypeDoc