public class ArthromorphGenome extends SimpleGenome
Constructor and Description |
---|
ArthromorphGenome() |
Modifier and Type | Method and Description |
---|---|
void |
copy(Genome target) |
Atom |
getAnimalTrunk() |
int |
getAtomCount() |
int |
getSizeInBytes() |
void |
readFromByteBuffer(java.nio.ByteBuffer byteBuffer) |
Genome |
reproduce(Morph newMorph) |
void |
setAnimalTrunk(Atom animalTrunk) |
void |
setAtomCount(int atomCount) |
Gene[] |
toGeneArray() |
void |
writeToByteBuffer(java.nio.ByteBuffer byteBuffer) |
addGenomeChangeListener, genomicallyEquals, getGene, kill, propertyChange, removeGenomeChangeListener, toString
public void copy(Genome target)
copy
in interface Genome
copy
in class SimpleGenome
public Atom getAnimalTrunk()
public int getAtomCount()
public void setAnimalTrunk(Atom animalTrunk)
public void setAtomCount(int atomCount)
public Gene[] toGeneArray()
public void readFromByteBuffer(java.nio.ByteBuffer byteBuffer)
readFromByteBuffer
in interface Genome
readFromByteBuffer
in class SimpleGenome
public void writeToByteBuffer(java.nio.ByteBuffer byteBuffer)
writeToByteBuffer
in interface Genome
writeToByteBuffer
in class SimpleGenome
public int getSizeInBytes()