public class MaximisingHeightMap extends CombiningHeightMap
heightMap1, heightMap2
children, constant, constantColour, constantValue
name, seed
Constructor and Description |
---|
MaximisingHeightMap(HeightMap heightMap1,
HeightMap heightMap2) |
MaximisingHeightMap(java.lang.String name,
HeightMap heightMap1,
HeightMap heightMap2) |
Modifier and Type | Method and Description |
---|---|
MaximisingHeightMap |
clone()
Create a deep copy of the height map.
|
protected double |
doGetHeight(float x,
float y) |
protected double |
doGetHeight(int x,
int y) |
javax.swing.Icon |
getIcon()
Get a 16x16 icon representing this height map.
|
double[] |
getRange()
Get the range of this height map, i.e.
|
getExtent, getHeightMap1, getHeightMap2, setHeightMap1, setHeightMap2
childrenChanged, determineConstant, doGetColour, getColour, getConstantValue, getHeight, getHeight, getHeightMap, getHeightMap, getHeightMapCount, getIndex, getIndex, getRole, getSeed, isConstant, readResolve, recalculateConstantValue, replace, replace, setHeightMap, setHeightMap, setSeed
getBaseHeight, getName, getParent, setName
protected double doGetHeight(int x, int y)
doGetHeight
in class DelegatingHeightMap
protected double doGetHeight(float x, float y)
doGetHeight
in class DelegatingHeightMap
public MaximisingHeightMap clone()
HeightMap
clone
in interface HeightMap
clone
in class CombiningHeightMap
public javax.swing.Icon getIcon()
HeightMap
public double[] getRange()
HeightMap
HeightMap.getBaseHeight()
) and the upper bound in
index 1.