Condition Test Method Robocode Robot API for .NET
Overriding the Test() method is the point of a Condition. The game will call your Test() function, and take action if it returns true. This is valid for both WaitFor(Condition) and AddCustomEvent(Condition)

You may not take any actions inside of Test().

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

public virtual bool Test()

Return Value

Type: OnlineBoolean
See Also