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

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

void clearAllEvents()
See Also