cs1705
Interface RobotTask

All Superinterfaces:
kareltherobot.Directions

public interface RobotTask
extends kareltherobot.Directions

This class defines the common interface for all robot task objects. It exports a single method called task(). A concrete robot task class should define this method to initialize the robot World, create the desired robot(s), and command them to behave. A RobotTask can be executed from the command-line using RunRobotTask.

Version:
2003.08.20
Author:
Stephen Edwards

Nested Class Summary
 
Nested classes inherited from class kareltherobot.Directions
kareltherobot.Directions.Direction
 
Field Summary
 
Fields inherited from interface kareltherobot.Directions
East, EastVal, infinity, North, NorthVal, South, SouthVal, West, WestVal
 
Method Summary
 void task()
          This method encapsulates a sequence of instructions for creating and commanding one or more robots (see VPIRobot).
 

Method Detail

task

public void task()
This method encapsulates a sequence of instructions for creating and commanding one or more robots (see VPIRobot). Define it in any concrete class that implements this interface.