public abstract class BiomorphPersonImpl extends SimplePersonImpl implements BiomorphPerson
| Constructor and Description |
|---|
BiomorphPersonImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToGene(int index,
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.
|
void |
addToMutProbGene(int summand)
Add a quantity to the mutProbGene.
|
void |
addToMutSizeGene(int summand)
mutSizeGene is not allowed to fall below 1.
|
void |
addToSegDistGene(int summand) |
void |
addToSegNoGene(int summand)
Add to segNoGene provided that the product segNoGene * gene[Gene9]^2 < Globals.worryMax
|
void |
addToTrickleGene(int summand)
trickleGene is not allowed to fall below 1.
|
void |
copy(Person person) |
void |
decrementGene(int i) |
void |
decrementSegNoGene() |
CompletenessType |
getCompletenessGene() |
SwellType[] |
getdGene() |
SwellType |
getDGene(int i) |
int[] |
getGene() |
int |
getGene(int index) |
int |
getGene9Max() |
int |
getMutProbGene() |
int |
getMutSizeGene() |
int |
getSegDistGene() |
int |
getSegNoGene() |
SpokesType |
getSpokesGene() |
int |
getTrickleGene() |
void |
setBasicType(int basicType) |
void |
setCompletenessGene(CompletenessType completenessGene) |
void |
setDGene(int i,
SwellType swellType) |
void |
setdGene(SwellType[] dGene) |
void |
setGene(int[] gene) |
void |
setGene(int index,
int value) |
void |
setGene9Max(int max) |
void |
setMorph(Morph morph) |
void |
setMutProbGene(int mutProbGene) |
void |
setMutSizeGene(int mutSizeGene) |
void |
setSegDistGene(int segDistGene) |
void |
setSegNoGene(int segNoGene) |
void |
setSpokesGene(SpokesType spokesGene) |
void |
setTrickleGene(int trickleGene) |
getMorph, getMutagen, setMutagenequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbasicTree, chess, insect, makeGenesdevelop, getMorph, getMutagen, reproduce, setMutagenpublic void setBasicType(int basicType)
setBasicType in interface Personpublic int[] getGene()
getGene in interface BiomorphPersonpublic void setGene(int[] gene)
setGene in interface BiomorphPersonpublic SwellType[] getdGene()
getdGene in interface BiomorphPersonpublic void setdGene(SwellType[] dGene)
setdGene in interface BiomorphPersonpublic int getSegNoGene()
getSegNoGene in interface BiomorphPersonpublic void setSegNoGene(int segNoGene)
setSegNoGene in interface BiomorphPersonpublic int getSegDistGene()
getSegDistGene in interface BiomorphPersonpublic void setSegDistGene(int segDistGene)
setSegDistGene in interface BiomorphPersonpublic CompletenessType getCompletenessGene()
getCompletenessGene in interface BiomorphPersonpublic void setCompletenessGene(CompletenessType completenessGene)
setCompletenessGene in interface BiomorphPersonpublic SpokesType getSpokesGene()
getSpokesGene in interface BiomorphPersonpublic void setSpokesGene(SpokesType spokesGene)
setSpokesGene in interface BiomorphPersonpublic int getTrickleGene()
getTrickleGene in interface BiomorphPersonpublic void setTrickleGene(int trickleGene)
setTrickleGene in interface BiomorphPersonpublic int getMutSizeGene()
getMutSizeGene in interface BiomorphPersonpublic void setMutSizeGene(int mutSizeGene)
setMutSizeGene in interface BiomorphPersonpublic int getMutProbGene()
getMutProbGene in interface BiomorphPersonpublic void setMutProbGene(int mutProbGene)
setMutProbGene in interface BiomorphPersonpublic void setMorph(Morph morph)
setMorph in interface BiomorphPersonsetMorph in interface PersonsetMorph in class SimplePersonImplpublic void addToMutProbGene(int summand)
addToMutProbGene in interface BiomorphPersonpublic int getGene9Max()
getGene9Max in interface BiomorphPersonpublic void setGene9Max(int max)
setGene9Max in interface BiomorphPersonpublic void addToGene(int index,
int summand)
addToGene in interface BiomorphPersonpublic void setGene(int index,
int value)
setGene in interface BiomorphPersonpublic int getGene(int index)
getGene in interface BiomorphPersonpublic void decrementSegNoGene()
decrementSegNoGene in interface BiomorphPersonpublic void decrementGene(int i)
decrementGene in interface BiomorphPersonpublic SwellType getDGene(int i)
getDGene in interface BiomorphPersonpublic void setDGene(int i,
SwellType swellType)
setDGene in interface BiomorphPersonpublic void addToMutSizeGene(int summand)
addToMutSizeGene in interface BiomorphPersonpublic void addToTrickleGene(int summand)
addToTrickleGene in interface BiomorphPersonpublic void addToSegNoGene(int summand)
addToSegNoGene in interface BiomorphPersonpublic void addToSegDistGene(int summand)
public void copy(Person person)