public class DifferenceHeightMap extends CombiningHeightMap
heightMap1, heightMap2children, constant, constantColour, constantValuename, seed| Constructor and Description |
|---|
DifferenceHeightMap(HeightMap heightMap1,
HeightMap heightMap2) |
DifferenceHeightMap(java.lang.String name,
HeightMap heightMap1,
HeightMap heightMap2) |
| Modifier and Type | Method and Description |
|---|---|
CombiningHeightMap |
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, setHeightMap2childrenChanged, determineConstant, doGetColour, getColour, getConstantValue, getHeight, getHeight, getHeightMap, getHeightMap, getHeightMapCount, getIndex, getIndex, getRole, getSeed, isConstant, readResolve, recalculateConstantValue, replace, replace, setHeightMap, setHeightMap, setSeedgetBaseHeight, getName, getParent, setNameprotected double doGetHeight(int x,
int y)
doGetHeight in class DelegatingHeightMapprotected double doGetHeight(float x,
float y)
doGetHeight in class DelegatingHeightMappublic javax.swing.Icon getIcon()
HeightMappublic double[] getRange()
HeightMapHeightMap.getBaseHeight()) and the upper bound in
index 1.public CombiningHeightMap clone()
HeightMapclone in interface HeightMapclone in class CombiningHeightMap