|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IBattleListener instead.
A listener interface for receiving callbacks from the RobocodeEngine.
@Deprecated public interface RobocodeListener
IBattleListener| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
@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 game
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||