public interface IBasicEvents2 extends IBasicEvents
IBasicEvents
interface.Modifier and Type | Method and Description |
---|---|
void |
onBattleEnded(BattleEndedEvent event)
This method is called after the end of the battle, even when the battle is aborted.
|
onBulletHit, onBulletHitBullet, onBulletMissed, onDeath, onHitByBullet, onHitRobot, onHitWall, onRobotDeath, onScannedRobot, onStatus, onWin
void onBattleEnded(BattleEndedEvent event)
Example:
public void onBattleEnded(BattleEndedEvent event) { out.println("The battle has ended"); }
event
- the BattleEndedEvent set by the gameBattleEndedEvent
,
IBasicEvents3.onRoundEnded(RoundEndedEvent)
,
WinEvent
,
DeathEvent
,
Event
Copyright © 2021 Robocode. All Rights Reserved.