|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--critter.MySim
| Field Summary | |
critter.World |
myWorld
|
| Constructor Summary | |
MySim()
Constructs a simulation by initializing a world. |
|
| Method Summary | |
void |
newGeneration()
Creates a new population of critters. |
boolean |
updateGeneration()
Is called for updating the simulation details when the "Step generation" has been pressed. |
boolean |
updateTimestep()
Is called for updating the simulation details when the "Step timestep" has been pressed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public critter.World myWorld
| Constructor Detail |
public MySim()
| Method Detail |
public void newGeneration()
public boolean updateTimestep()
public boolean updateGeneration()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||