public interface WebBotTask
task()
method to create and initialize the desired robot(s)
and command them to behave. Also, the concrete task class should
define getRobot()
to return the robot that is used in the task.
A WebBotTask
can be executed from the
command-line using RunWebBotTask
.
Modifier and Type | Method and Description |
---|---|
WebBot |
getRobot()
This method provides access to the robot that carries out this
task.
|
void |
task()
This method encapsulates a sequence of instructions for
creating and commanding one or more robots (see
WebBot ). |
void task()
WebBot
).
Define it in any concrete class that implements this interface.WebBot getRobot()