All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ch.jp.robwar.Sprinkler

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

public class Sprinkler
extends Object
implements RobotBrain

Constructor Index

 o Sprinkler()

Method Index

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

Constructors

 o Sprinkler
 public Sprinkler()

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.

In this case it has been written in such a way that it will do its computations only once per time step. However, this does not have to be the case.


All Packages  Class Hierarchy  This Package  Previous  Next  Index