AdvancedRobot AddCustomEvent Method (String, Int32, ConditionTest)Robocode Robot API for .NET
Same as AddCustomEvent(Condition), but alows to define condition as anonymous method.

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

public void AddCustomEvent(
	string name,
	int priority,
	ConditionTest test
)
See Also