public class ProductHeightMap extends CombiningHeightMap
heightMap1, heightMap2
children, constant, constantColour, constantValue
name, seed
Constructor and Description |
---|
ProductHeightMap(HeightMap heightMap1,
HeightMap heightMap2) |
ProductHeightMap(java.lang.String name,
HeightMap heightMap1,
HeightMap heightMap2) |
Modifier and Type | Method and Description |
---|---|
ProductHeightMap |
clone()
Create a deep copy of the height map.
|
double |
doGetHeight(float x,
float y) |
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
public double doGetHeight(int x, int y)
doGetHeight
in class DelegatingHeightMap
public double doGetHeight(float x, float y)
doGetHeight
in class DelegatingHeightMap
public ProductHeightMap 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.