| Constructor | Description |
|---|---|
GunTurnCompleteCondition(AdvancedRobot robot) |
Creates a new GunTurnCompleteCondition with default priority.
|
GunTurnCompleteCondition(AdvancedRobot robot,
int priority) |
Creates a new GunTurnCompleteCondition with a specific 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 gun has stopped turning.
|
getName, getPriority, setName, setPrioritypublic GunTurnCompleteCondition(AdvancedRobot robot)
robot - your robot, which must be a AdvancedRobotpublic GunTurnCompleteCondition(AdvancedRobot robot, int priority)
robot - your robot, which must be a AdvancedRobotpriority - the priority of this conditionCondition.setPriority(int)Copyright © 2018. All rights reserved.