| Constructor | Description |
|---|---|
TurnCompleteCondition(AdvancedRobot robot) |
Creates a new TurnCompleteCondition with default priority.
|
TurnCompleteCondition(AdvancedRobot robot,
int priority) |
Creates a new TurnCompleteCondition with the specified priority.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
cleanup() |
Called by the system in order to clean up references to internal objects.
|
boolean |
test() |
Tests if the robot has finished turning.
|
getName, getPriority, setName, setPrioritypublic TurnCompleteCondition(AdvancedRobot robot)
robot - your robot, which must be a AdvancedRobotpublic TurnCompleteCondition(AdvancedRobot robot, int priority)
robot - your robot, which must be a AdvancedRobotpriority - the priority of this conditionCondition.setPriority(int)Copyright © 2018. All rights reserved.