edu.turtlekit2.demos.ants
Class FoodInitializer

java.lang.Object
  extended by madkit.kernel.AbstractAgent
      extended by madkit.kernel.Watcher
          extended by edu.turtlekit2.kernel.agents.Observer
              extended by edu.turtlekit2.demos.ants.FoodInitializer
All Implemented Interfaces:
Serializable, madkit.kernel.ReferenceableAgent

public class FoodInitializer
extends Observer

Adapted from the termites simulation of TurtleKit (v1).

Version:
1.1 - 4/2010 The only goal of this Observer is to setup the patches for the termite simulation, having its variables: patchGrid, EnvWidth, EnvHeight, 1.0 20/3/2000
Author:
G.Beurier, Fabien MICHEL
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.turtlekit2.kernel.agents.Observer
attrib, envHeight, envWidth, flavors, gridValues, patchGrid, probe1, probe2, simulationGroup
 
Constructor Summary
FoodInitializer()
           
 
Method Summary
 void setup()
          override this method to make other initializations,not in constructor
 
Methods inherited from class edu.turtlekit2.kernel.agents.Observer
activate, flavorsContains, getAllValues, getAttrib, getBooleanParam, getBooleanParam, getColorParam, getColorParam, getDoubleParam, getDoubleParam, getFlavor, getFlavorName, getFlavors, getFloatParam, getFloatParam, getIntParam, getIntParam, getParam, getParam, getSimulationGroup, getStringParam, getStringParam, setAttrib, setFlavors, watch
 
Methods inherited from class madkit.kernel.Watcher
addProbe, addProbe, end, getProbes, removeAllProbes, removeProbe, update
 
Methods inherited from class madkit.kernel.AbstractAgent
broadcastMessage, broadcastMessage, connectedWithCommunity, createGroup, createGroup, debug, disposeMyGUI, foundGroup, getAddress, getAgentInformation, getAgentsWithRole, getAgentsWithRole, getAgentWithRole, getAgentWithRole, getAvailableCommunities, getBean, getController, getCurrentKernelAddress, getDebug, getExistingGroups, getExistingGroups, getExistingRoles, getExistingRoles, getGroups, getGUIObject, getMessageBoxSize, getMyGroups, getMyGroups, getMyRoles, getMyRoles, getName, getRoles, hasGUI, hashCode, initGUI, isBelongingToGroup, isBelongingToGroup, isCommunity, isGroup, isGroup, isMemberOf, isMemberOf, isMessageBoxEmpty, isRole, isRole, joinGroup, killAgent, launchAgent, launchAgent, leaveGroup, leaveGroup, leaveRole, leaveRole, nextMessage, print, println, receiveMessage, redisplayMyGUI, requestRole, requestRole, requestRole, restoreAgent, sendMessage, sendMessage, sendMessage, setBean, setController, setDebug, setGUIObject, setName, setOutput, setOutputWriter, toString, windowClosing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FoodInitializer

public FoodInitializer()
Method Detail

setup

public void setup()
Description copied from class: Observer
override this method to make other initializations,not in constructor

Overrides:
setup in class Observer