Modifier, java.io.Serializablepublic class ModifierYCells2D extends java.lang.Object implements Modifier, java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
protected Box |
box |
|
protected int |
mostRecentValue |
|
protected int |
previousValue |
|
protected ISpecies |
species |
|
protected int |
xCell |
| Constructor | Description |
|---|---|
ModifierYCells2D(Box box,
ISpecies species,
int x) |
| Modifier and Type | Method | Description |
|---|---|---|
Dimension |
getDimension() |
Returns the dimension of the property being modified.
|
java.lang.String |
getLabel() |
Returns a descriptive label of the property being modified.
|
double |
getValue() |
Gets the current value of the property.
|
void |
setValue(double d) |
Sets the value of the property.
|
protected final Box box
protected final ISpecies species
protected int mostRecentValue
protected int previousValue
protected int xCell
public void setValue(double d)
Modifierpublic double getValue()
Modifierpublic Dimension getDimension()
ModifiergetDimension in interface Modifier