Robot 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
Assembly: robocode (in robocode.dll) Version: 1.9.3.0
Syntax

public virtual void OnBattleEnded(
	BattleEndedEvent evnt
)

Implements

IBasicEvents2 OnBattleEnded(BattleEndedEvent)
See Also