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

Examples

for (RobotDeathEvent evnt : GetRobotDeathEvents())
{
    // do something with the event
}

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

public IList<RobotDeathEvent> GetRobotDeathEvents()

Return Value

Type: OnlineIList RobotDeathEvent 
See Also