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, setPriority
public GunTurnCompleteCondition(AdvancedRobot robot)
robot
- your robot, which must be a AdvancedRobot
public GunTurnCompleteCondition(AdvancedRobot robot, int priority)
robot
- your robot, which must be a AdvancedRobot
priority
- the priority of this conditionCondition.setPriority(int)
Copyright © 2018. All rights reserved.