Properties
Readonly
doodadItems
Readonly
doodads
Readonly
mounds
Readonly
terrainDecoration
Methods
clearCaches
- clearCaches(): void
-
Returns void
generateLookups
- generateLookups(): void
-
Returns void
isFloor
- isFloor(type: TerrainType): boolean
-
Returns boolean
isFreezingWater
- isFreezingWater(type: TerrainType): boolean
-
Returns boolean
isFreshWater
- isFreshWater(type: TerrainType): boolean
-
Returns boolean
isIce
- isIce(type: TerrainType): boolean
-
Returns boolean
isLava
- isLava(type: TerrainType): boolean
-
Returns boolean
isMountain
- isMountain(type: TerrainType): boolean
-
Returns boolean
isMountainGround
- isMountainGround(type: TerrainType): boolean
-
Returns boolean
isOre
- isOre(type: TerrainType): boolean
-
Returns boolean
isSwampWater
- isSwampWater(type: TerrainType): boolean
-
Returns boolean
isTrack
- isTrack(type: TerrainType): boolean
-
Returns boolean
isWater
- isWater(type: TerrainType): boolean
-
Returns boolean
isWaterOrIce
- isWaterOrIce(type: TerrainType): boolean
-
Returns boolean
rotateTileType90Deg
- rotateTileType90Deg(tileType: TileType, times: number): TileType
-
setTerrain
- setTerrain(terrainType: TerrainType, terrainTileInfo: TerrainTileInfo, biomeType: undefined | BiomeType): void
-
Returns void
setTerrainTilled
- setTerrainTilled(terrainType: TerrainType, terrainTileInfo: TerrainTileInfo, biomeType: undefined | BiomeType): void
-
Returns void
shouldRenderOverMountainTypes
- shouldRenderOverMountainTypes(type: TerrainType): boolean
-
Returns boolean
note: variation is an integer from 0 to 3.