All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ch.jp.robwar.WallBouncer

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

public class WallBouncer
extends Object
implements RobotBrain
This class shows a simple robot brain that go forward, and bounce and turn when it hits walls.


Constructor Index

 o WallBouncer()

Method Index

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

Constructors

 o WallBouncer
 public WallBouncer()

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