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.


Constructor Index

 o BadRobot()

Method Index

 o nextMove(Feedback)
This function is called by the simulation for each time step.

Constructors

 o BadRobot
 public BadRobot()

Methods

 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.


All Packages  Class Hierarchy  This Package  Previous  Next  Index