|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Watcher
warbot.kernel.MapViewer
public final class MapViewer
Field Summary | |
---|---|
protected Entity[] |
entities
|
protected java.awt.Component |
onScreen
|
protected boolean |
show
|
protected java.lang.String |
simulationGroup
|
protected boolean |
swing
|
protected warbot.kernel.Environment2D |
world
|
Method Summary | |
---|---|
void |
activate()
This method is initially called when the micro-kernel registers the agent. |
protected void |
checkMail()
|
int |
getNumberAgents()
|
int |
getNumberEntities()
|
void |
initGUI()
This method is called by the specific external graphic system (as the G-Box) to ask the agent to prepare a graphical interface. |
void |
observe()
|
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 |
Field Detail |
---|
protected warbot.kernel.Environment2D world
protected Entity[] entities
protected java.awt.Component onScreen
protected boolean show
protected boolean swing
protected java.lang.String simulationGroup
Method Detail |
---|
public void initGUI()
AbstractAgent
initGUI
in class AbstractAgent
public void observe()
public int getNumberEntities()
public int getNumberAgents()
public void activate()
AbstractAgent
activate
in class AbstractAgent
protected void checkMail()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |