Uses of Class robocode.Condition

Package | Class | Use | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES

## Uses of Class
robocode.Condition

Uses of Condition in robocode

Subclasses of Condition in robocode
`class` | `GunTurnCompleteCondition` A prebuilt condition you can use that indicates your gun has finished rotating.
`class` | `MoveCompleteCondition` A prebuilt condition you can use that indicates your robot has finished moving.
`class` | `RadarTurnCompleteCondition` A prebuilt condition you can use that indicates your radar has finished rotating.
`class` | `TurnCompleteCondition` A prebuilt condition you can use that indicates your robot has finished rotating.

Methods in robocode that return Condition
`Condition` | `CustomEvent.getCondition()` Returns the condition that fired, causing this event to be generated.

Methods in robocode with parameters of type Condition
`void` | `AdvancedRobot.addCustomEvent(Condition condition)` Registers a custom event to be called when a condition is met.
`void` | `AdvancedRobot.removeCustomEvent(Condition condition)` Removes a custom event (specified by condition).
`void` | `AdvancedRobot.waitFor(Condition condition)` Does not return until condition.test() returns true.

Constructors in robocode with parameters of type Condition
`CustomEvent(Condition condition)` Called by the game to create a new CustomEvent when a condition is met.
`CustomEvent(Condition condition, int priority)` Called by the game to create a new CustomEvent when a condition is met.

Package | Class | Use | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES