public class ShelvingHeightMap extends DelegatingHeightMap
children, constant, constantColour, constantValue
name, seed
Constructor and Description |
---|
ShelvingHeightMap(HeightMap baseHeightMap) |
Modifier and Type | Method and Description |
---|---|
double |
doGetHeight(float x,
float y) |
javax.swing.Icon |
getIcon()
Get a 16x16 icon representing this height map.
|
double[] |
getRange()
Get the range of this height map, i.e.
|
int |
getShelveHeight() |
int |
getShelveStrength() |
void |
setShelveHeight(int shelveHeight) |
void |
setShelveStrength(int shelveStrength) |
childrenChanged, determineConstant, doGetColour, doGetHeight, getColour, getConstantValue, getHeight, getHeight, getHeightMap, getHeightMap, getHeightMapCount, getIndex, getIndex, getRole, getSeed, isConstant, readResolve, recalculateConstantValue, replace, replace, setHeightMap, setHeightMap, setSeed
clone, getBaseHeight, getExtent, getName, getParent, setName
public ShelvingHeightMap(HeightMap baseHeightMap)
public int getShelveHeight()
public void setShelveHeight(int shelveHeight)
public int getShelveStrength()
public void setShelveStrength(int shelveStrength)
public double doGetHeight(float x, float y)
doGetHeight
in class DelegatingHeightMap
public javax.swing.Icon getIcon()
HeightMap
public double[] getRange()
HeightMap
HeightMap.getBaseHeight()
) and the upper bound in
index 1.