public interface Behavior
Arbitrator
Modifier and Type | Method and Description |
---|---|
void |
action()
The code in action() represents the tasks the robot performs when this
behavior becomes active.
|
void |
suppress()
The code in suppress() should cause the current behavior to exit.
|
boolean |
takeControl()
The boolean return indicates if this behavior should seize control of the robot.
|
boolean takeControl()
void action()
void suppress()