|
||||||||||
| 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.termites.PatchInitializer
public class PatchInitializer
The only goal of this Observer is to setup the patches for the termite simulation, having its variables: patchGrid, EnvWidth, EnvHeight
| Field Summary |
|---|
| Fields inherited from class turtlekit.kernel.Observer |
|---|
envHeight, envWidth, patchGrid |
| Constructor Summary | |
|---|---|
PatchInitializer(float density)
|
|
| Method Summary | |
|---|---|
void |
setup()
override this method to make other initializations,not in constructor |
| Methods inherited from class turtlekit.kernel.Observer |
|---|
activate, getSimulationGroup, watch |
| 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 PatchInitializer(float density)
| Method Detail |
|---|
public void setup()
Observer
setup in class Observer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||