Interface Stateful
public interface Stateful
Commands that implement the stateful interface manipulate the state of the world and the robots in it
-
Method Summary
-
Method Details
-
verify
Verify if a command is able to be executed given the current state of the robot. THIS METHOD INDUCES THE SIDE EFFECT OF CHANGING THEStatusOF THE ROBOT, updating it'sStatusif needed.- Parameters:
world- the world that this command is being verified against.- Returns:
- the status of the robot executing the command.
- Throws:
Exception
-