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, setPriority
public TurnCompleteCondition(AdvancedRobot robot)
robot
- your robot, which must be a AdvancedRobot
public TurnCompleteCondition(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.