public class FancyTheme extends java.lang.Object implements Theme, java.lang.Cloneable
| Modifier and Type | Field and Description | 
|---|---|
| protected GroundCoverLayer | snowLayer | 
| protected Terrain | terrainDirtAndGravel | 
| protected Terrain | terrainStoneAndGravel | 
| Constructor and Description | 
|---|
| FancyTheme(int minHeight,
          int maxHeight,
          int waterHeight,
          HeightMap heightMap,
          Terrain baseTerrain) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | apply(Tile tile,
     int x,
     int y)Apply the theme to the specified coordinates of the tile. | 
| FancyTheme | clone() | 
| Terrain | getBaseTerrain() | 
| int | getDesertMaxHeight() | 
| HeightMap | getForestMap() | 
| protected float | getHeight(int x,
         int y) | 
| HeightMap | getHeightMap() | 
| HeightMap | getHumidityMap() | 
| int | getMaxHeight() | 
| int | getMinHeight() | 
| float | getRockySlope() | 
| long | getSeed() | 
| HeightMap | getTemperatureMap() | 
| int | getWaterHeight() | 
| void | setBaseTerrain(Terrain baseTerrain) | 
| void | setDesertMaxHeight(int desertMaxHeight) | 
| void | setForestMap(HeightMap forestMap) | 
| void | setHeightMap(HeightMap heightMap) | 
| void | setHumidityMap(HeightMap humidityMap) | 
| void | setMinMaxHeight(int minHeight,
               int maxHeight,
               HeightTransform transform) | 
| void | setRockySlope(float rockySlope) | 
| void | setSeed(long seed) | 
| void | setTemperatureMap(HeightMap temperatureMap) | 
| void | setWaterHeight(int waterLevel) | 
protected GroundCoverLayer snowLayer
protected Terrain terrainDirtAndGravel
protected Terrain terrainStoneAndGravel
public void apply(Tile tile, int x, int y)
Themepublic final int getWaterHeight()
getWaterHeight in interface Themepublic final void setWaterHeight(int waterLevel)
setWaterHeight in interface Themepublic int getMinHeight()
getMinHeight in interface Themepublic final int getMaxHeight()
getMaxHeight in interface Themepublic final void setMinMaxHeight(int minHeight,
                                  int maxHeight,
                                  HeightTransform transform)
setMinMaxHeight in interface Themepublic final HeightMap getHumidityMap()
public final void setHumidityMap(HeightMap humidityMap)
public final HeightMap getTemperatureMap()
public final void setTemperatureMap(HeightMap temperatureMap)
public final HeightMap getHeightMap()
public final void setHeightMap(HeightMap heightMap)
public final float getRockySlope()
public final void setRockySlope(float rockySlope)
public final int getDesertMaxHeight()
public final void setDesertMaxHeight(int desertMaxHeight)
public final HeightMap getForestMap()
public final void setForestMap(HeightMap forestMap)
public final Terrain getBaseTerrain()
public final void setBaseTerrain(Terrain baseTerrain)
public FancyTheme clone()
protected float getHeight(int x,
                          int y)