All Packages Class Hierarchy This Package Previous Next Index
Class ch.jp.robwar.EtchABrain
java.lang.Object
|
+----ch.jp.robwar.EtchABrain
- public class EtchABrain
- extends Object
- implements RobotBrain, ActionListener, WindowListener, InteractiveRobot
Baaaad hard-coded constants
This provides a simple robot that has the interesting property
that it can be modified while it is running with a simple user
interface.
It allows one to try out WOR without any programming, but the
resulting robot is not as interesting as it could be if it was
programmed directly using Java.
-
EtchABrain()
-
-
actionPerformed(ActionEvent)
-
-
done()
-
-
init()
-
-
nextMove(Feedback)
- This function is called by the simulation for each time step.
-
windowActivated(WindowEvent)
-
-
windowClosed(WindowEvent)
-
-
windowClosing(WindowEvent)
-
-
windowDeactivated(WindowEvent)
-
-
windowDeiconified(WindowEvent)
-
-
windowIconified(WindowEvent)
-
-
windowOpened(WindowEvent)
-
EtchABrain
public EtchABrain()
init
public void init()
done
public void done()
actionPerformed
public void actionPerformed(ActionEvent ev)
nextMove
public Instructions nextMove(Feedback senses)
- This function is called by the simulation for each time step.
It returns the orders that the robot brain gives to the robot body.
windowClosing
public void windowClosing(WindowEvent event)
windowOpened
public void windowOpened(WindowEvent event)
windowIconified
public void windowIconified(WindowEvent event)
windowDeiconified
public void windowDeiconified(WindowEvent event)
windowClosed
public void windowClosed(WindowEvent event)
windowActivated
public void windowActivated(WindowEvent event)
windowDeactivated
public void windowDeactivated(WindowEvent event)
All Packages Class Hierarchy This Package Previous Next Index