AdvancedRobot WaitFor Method Robocode Robot API for .NET
Does not return until a condition is met, i.e. when a Test  returns true.

This call executes immediately.

See the Sample.Crazy robot for how this method can be used.

Namespace: Robocode
Assembly: robocode (in robocode.dll) Version: 1.9.2.0
Syntax

public void WaitFor(
	Condition condition
)

Parameters

condition
Type: Robocode Condition
the condition that must be met before this call returns
See Also