All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface ch.jp.robwar.RobotBrain

public interface RobotBrain
This interface describes the functions that a robot brain must provide. These functions will be used in the simulation to run the robot.


Method Index

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

Methods

 o nextMove
 public abstract 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. The parameter represents the stimuli from the outside world (see the Feedback and Stimuli classes).

Returns:
an Instructions block telling the robot what to do.

All Packages  Class Hierarchy  This Package  Previous  Next  Index