public class Gene9 extends IntegerGradientGene
| Constructor and Description | 
|---|
Gene9(Genome genome,
     java.lang.String name)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addToGene(int summand)
Gene9 is not permitted to fall below 1, or rise above 8 (the default, for
 Colour.) Monochrome sets 11 as the limit in its constructor. 
 | 
int | 
getGene9Max()  | 
void | 
goose(GooseDirection direction)  | 
void | 
setGene9Max(int max)  | 
void | 
setValue(int newValue)  | 
copy, geneManipulated, genomicallyEquals, getGradient, readIndexedValueFromByteBuffer, setGradient, toString, writeIndexedValueToByteBufferdecrementGene, getValue, incrementGeneisShowPositiveSign, setShowPositiveSignaddPropertyChangeListener, getDoubleGooseSize, getGenome, getGooseSize, getName, kill, readValueFromByteBuffer, removePropertyChangeListener, setGenome, setName, writeValueToByteBufferpublic Gene9(Genome genome, java.lang.String name)
public int getGene9Max()
public void setGene9Max(int max)
public void goose(GooseDirection direction)
public void addToGene(int summand)
addToGene in class IntegerGenesummand - the quantity to add to the gene.public void setValue(int newValue)
setValue in class IntegerGene