All Packages Class Hierarchy This Package Previous Next Index
Class ch.jp.robwar.BadRobot
java.lang.Object
|
+----ch.jp.robwar.BadRobot
- public class BadRobot
- extends Object
- implements RobotBrain
This class shows a simple robot brain that will follow walls.
-
BadRobot()
-
-
nextMove(Feedback)
- This function is called by the simulation for each time step.
BadRobot
public BadRobot()
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.
All Packages Class Hierarchy This Package Previous Next Index