All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ch.jp.robwar.RemoteControlled

java.lang.Object
   |
   +----ch.jp.robwar.RemoteControlled

public class RemoteControlled
extends Object
implements RobotBrain, KeyListener, WindowListener, InteractiveRobot

Constructor Index

 o RemoteControlled()

Method Index

 o done()
This function is called at the end of the simulation.
 o init()
Init is called before the simulation starts.
 o keyPressed(KeyEvent)
 o keyReleased(KeyEvent)
 o keyTyped(KeyEvent)
 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 RemoteControlled
 public RemoteControlled()

Methods

 o init
 public void init()
Init is called before the simulation starts. It opens the window which will be used to control the robot.

 o done
 public void done()
This function is called at the end of the simulation. It closes the interaction window.

 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 keyPressed
 public void keyPressed(KeyEvent e)
 o keyReleased
 public void keyReleased(KeyEvent e)
 o keyTyped
 public void keyTyped(KeyEvent e)
 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