public class BattleFinishedEvent extends BattleEvent
onBattleFinished()when the battle is finished. This event is always sent as the last battle event, both when the battle is completed successfully, terminated due to an error, or aborted by the user. Hence, this events is well-suited for cleanup after the battle.
|Constructor and Description|
Called by the game to create a new BattleFinishedEvent.
public BattleFinishedEvent(boolean isAborted)
isAborted- a flag specifying if the battle was aborted:
trueif the battle was aborted;
Copyright © 2017 Robocode. All Rights Reserved.