All Packages Class Hierarchy This Package Previous Next Index
Class ch.jp.robwar.WallBouncerShooter
java.lang.Object
|
+----ch.jp.robwar.WallBouncerShooter
- public class WallBouncerShooter
- extends Object
- implements RobotBrain
This class shows a sample robot brain that goes forward.
When it hits a wall, it bounces, turns, shoots and resume
its forward movement.
-
WallBouncerShooter()
-
-
nextMove(Feedback)
- This function is called by the simulation for each time step.
WallBouncerShooter
public WallBouncerShooter()
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