org.holtz.zoe
Class GenotypeOld
java.lang.Object
org.holtz.zoe.GenotypeOld
public class GenotypeOld
- extends java.lang.Object
The species of a Bug
, including a StatementList
encoding a Zoel
program.
- Author:
- Brian Holtz
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
id
public int id
name
public java.lang.String name
color
public java.awt.Color color
numLiving
public int numLiving
GenotypeOld
public GenotypeOld(GenotypeOld theParent,
java.util.Random random)
GenotypeOld
public GenotypeOld(GenotypeOld mom,
GenotypeOld dad,
java.util.Random random)
GenotypeOld
public GenotypeOld(java.util.Random random)
getNextId
public static int getNextId()
getNumEverCreated
public static int getNumEverCreated()
statementList
public StatementList statementList()
getRandomGenotypeOld
public static GenotypeOld getRandomGenotypeOld(World world)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.String toString(java.lang.String separator)
toString
public java.lang.String toString(java.lang.String statementSeparator,
Expression currExpr,
java.lang.String cursor)