# Package robocode.control.events

Battle events that occurs during a game, and which are used for the robocode.control.IBattleListener class.

Interface Summary
IBattleListener: The listener interface for receiving "interesting" battle events from the game, e.g.

Class Summary
BattleAdaptor: An abstract adapter class for receiving battle events by implementing the `IBattleListener`.
BattleCompletedEvent: A BattleCompletedEvent is sent to `onBattleCompleted()` when the battle is completed successfully and results are available.
BattleErrorEvent: A BattleErrorEvent is sent to `onBattleError()` when an error message is sent from the game in the during the battle.
BattleEvent: This is the base class of all battle events.
BattleFinishedEvent: A BattleFinishedEvent is sent to `onBattleFinished()` when the battle is finished.
BattleMessageEvent: A BattleMessageEvent is sent to `onBattleMessage()` when an informal message is sent from the game in the during the battle.
BattlePausedEvent: A BattlePausedEvent is sent to `onBattlePaused()` when a battle has been paused.
BattleResumedEvent: A BattleResumedEvent is sent to `onBattleResumed()` when a battle has been resumed (after having been paused).
BattleStartedEvent: A BattleStartedEvent is sent to `onBattleStarted()` when a new battle is started.
RoundEndedEvent: A RoundEndedEvent is sent to `onRoundEnded()` when the current round of a battle has ended.
RoundStartedEvent: A RoundStartedEvent is sent to `onRoundStarted()` when a new round in a battle is started.
TurnEndedEvent: A TurnEndedEvent is sent to `onTurnEnded()` when the current turn in a battle round is ended.
TurnStartedEvent: A TurnStartedEvent is sent to `onTurnStarted()` when a new turn in a battle round is started.