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: 1.9.3.0
Syntax

public virtual bool Test()

Return Value

Type: OnlineBoolean
See Also