AdvancedRobot ClearAllEvents Method Robocode Robot API for .NET
Clears Out any pending events in the robot's event queue immediately.

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

public void ClearAllEvents()
See Also