|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmadkit.kernel.AbstractAgent
warbot.kernel.Brain
warbot.kernel.ScriptedBrain
public abstract class ScriptedBrain
| Constructor Summary | |
|---|---|
ScriptedBrain()
|
|
| Method Summary | |
|---|---|
void |
doIt()
This method controls the behavior of a robot. |
void |
edit()
|
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 |
println(java.lang.String s)
Prints text information in a environment-independant way (GUI, console, ...) |
| Methods inherited from class warbot.kernel.Brain |
|---|
bagSize, broadcast, broadcast, broadcast, broadcast, broadcastMessage, buildRocket, createAgent, distanceTo, drop, dropAll, eat, getBagCapacity, getBagPercepts, getCoveredDistance, getEnergyLevel, getHeading, getMaximumEnergy, getPercepts, getResourceLevel, getRocketNumber, getShot, getTeam, init, isBagEmpty, isBagFull, isMoving, isMyBagEmpty, isMyBagFull, isShowUserMessage, launchRocket, move, randomHeading, readMessage, receiveMessage, send, send, send, send, sendMessage, sendMessage, setHeading, setUserMessage, showUserMessage, take, towards |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptedBrain()
| Method Detail |
|---|
public void initGUI()
AbstractAgent
initGUI in class AbstractAgentpublic void println(java.lang.String s)
AbstractAgent
println in class AbstractAgentpublic void doIt()
Brain
doIt in class Brainpublic void edit()
edit in class Brain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||