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.


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

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

void OnBattleEnded(
	BattleEndedEvent evnt
See Also