IBattleListener
instead.
A listener interface for receiving callbacks from the RobocodeEngine
.
@Deprecated public interface RobocodeListener
IBattleListener
Modifier and Type | Method | Description |
---|---|---|
void |
battleAborted(BattleSpecification battle) |
Deprecated.
Since 1.6.2. Use the
IBattleListener.onBattleFinished() instead.
This method is called when a battle has been aborted. |
void |
battleComplete(BattleSpecification battle,
RobotResults[] results) |
Deprecated.
Since 1.6.2. Use the
IBattleListener.onBattleCompleted() instead.
This method is called when a battle completes successfully. |
void |
battleMessage(String message) |
Deprecated.
Since 1.6.2. Use the
IBattleListener.onBattleMessage() instead.
This method is called when the game logs messages that is normally written out to the console. |
@Deprecated void battleComplete(BattleSpecification battle, RobotResults[] results)
IBattleListener.onBattleCompleted()
instead.
This method is called when a battle completes successfully.
battle
- information about the battle that completedresults
- an array containing the results for the individual robot@Deprecated void battleAborted(BattleSpecification battle)
IBattleListener.onBattleFinished()
instead.
This method is called when a battle has been aborted.
battle
- information about the battle that was aborted@Deprecated void battleMessage(String message)
IBattleListener.onBattleMessage()
instead.
This method is called when the game logs messages that is normally written out to the console.
message
- the message logged by the gameCopyright © 2018. All rights reserved.