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.


Constructor Index

 o EtchABrain()

Method Index

 o actionPerformed(ActionEvent)
 o done()
 o init()
 o nextMove(Feedback)
This function is called by the simulation for each time step.
 o windowActivated(WindowEvent)
 o windowClosed(WindowEvent)
 o windowClosing(WindowEvent)
 o windowDeactivated(WindowEvent)
 o windowDeiconified(WindowEvent)
 o windowIconified(WindowEvent)
 o windowOpened(WindowEvent)

Constructors

 o EtchABrain
 public EtchABrain()

Methods

 o init
 public void init()
 o done
 public void done()
 o actionPerformed
 public void actionPerformed(ActionEvent ev)
 o 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.

 o windowClosing
 public void windowClosing(WindowEvent event)
 o windowOpened
 public void windowOpened(WindowEvent event)
 o windowIconified
 public void windowIconified(WindowEvent event)
 o windowDeiconified
 public void windowDeiconified(WindowEvent event)
 o windowClosed
 public void windowClosed(WindowEvent event)
 o windowActivated
 public void windowActivated(WindowEvent event)
 o windowDeactivated
 public void windowDeactivated(WindowEvent event)

All Packages  Class Hierarchy  This Package  Previous  Next  Index