public interface ITurtleCommand
ITurtleAccess#issueCommand(ITurtleCommand)
Modifier and Type | Method and Description |
---|---|
TurtleCommandResult |
execute(ITurtleAccess turtle)
Will be called by the turtle on the main thread when it is time to execute the custom command.
|
TurtleCommandResult execute(ITurtleAccess turtle)
turtle
- access to the turtle for whom the command was issuedITurtleAccess#issueCommand(ITurtleCommand)
,
TurtleCommandResult