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:

public CustomEvent(
	Condition condition,
	int priority
See Also