|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Watcher
turtlekit.kernel.Observer
turtlekit.simulations.gameoflife.GridPlayer
public class GridPlayer
This agent just play the game of life
| Field Summary |
|---|
| Fields inherited from class turtlekit.kernel.Observer |
|---|
envHeight, envWidth, patchGrid |
| Constructor Summary | |
|---|---|
GridPlayer(double percentageValue,
boolean twoVariables)
|
|
| Method Summary | |
|---|---|
void |
setup()
override this method to make other initializations,not in constructor |
void |
watch()
override this method to observe the state of the world using turtle tables or/and the patchGrid variable |
| Methods inherited from class turtlekit.kernel.Observer |
|---|
activate, getSimulationGroup |
| Methods inherited from class madkit.kernel.Watcher |
|---|
addProbe, addProbe, end, getProbes, removeAllProbes, removeProbe, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridPlayer(double percentageValue,
boolean twoVariables)
| Method Detail |
|---|
public void setup()
Observer
setup in class Observerpublic void watch()
Observer
watch in class Observer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||