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
-
RemoteControlled()
-
-
done()
- This function is called at the end of the simulation.
-
init()
- Init is called before the simulation starts.
-
keyPressed(KeyEvent)
-
-
keyReleased(KeyEvent)
-
-
keyTyped(KeyEvent)
-
-
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)
-
RemoteControlled
public RemoteControlled()
init
public void init()
- Init is called before the simulation starts. It opens
the window which will be used to control the robot.
done
public void done()
- This function is called at the end of the simulation.
It closes the interaction window.
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.
keyPressed
public void keyPressed(KeyEvent e)
keyReleased
public void keyReleased(KeyEvent e)
keyTyped
public void keyTyped(KeyEvent e)
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