AdvancedRobot GetScannedRobotEvents Method Robocode Robot API for .NET
Returns a list containing all ScannedRobotEvents currently in the robot's queue. You might, for example, call this while processing another event.

Examples

for (ScannedRobotEvent evnt : GetScannedRobotEvents())
{
    // do something with the event
}

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

public IList<ScannedRobotEvent> GetScannedRobotEvents()

Return Value

Type: OnlineIList ScannedRobotEvent 
See Also