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.
-
WallBouncer()
-
-
nextMove(Feedback)
- This function is called by the simulation for each time step.
WallBouncer
public WallBouncer()
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