IBasicEvents2 OnBattleEnded Method Robocode Robot API for .NET
This method is called after end of the battle, even when the battle is aborted. You should override it in your robot if you want to be informed of this event.

Examples

public void OnBattleEnded(BattleEndedEvent evnt)
{
    Out.WriteLine("The battle has ended");
}

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

void OnBattleEnded(
	BattleEndedEvent evnt
)
See Also