CustomEvent Constructor (Condition, Int32)Robocode Robot API for .NET
Called by the game to create a new CustomEvent when a condition is met. The event will have the given priority. An event priority is a value from 0 - 99. The higher value, the higher priority. The default priority is 80.

This is equivalent to calling Priority on the Condition.

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

public CustomEvent(
	Condition condition,
	int priority
)
See Also