Package robocode.control
Interface RobocodeListener
-
@Deprecated public interface RobocodeListenerDeprecated.Since 1.6.2. Use theIBattleListenerinstead.A listener interface for receiving callbacks from the
RobocodeEngine.- Author:
- Mathew A. Nelson (original), Flemming N. Larsen (contributor)
- See Also:
IBattleListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidbattleAborted(BattleSpecification battle)Deprecated.Since 1.6.2.voidbattleComplete(BattleSpecification battle, RobotResults[] results)Deprecated.Since 1.6.2.voidbattleMessage(java.lang.String message)Deprecated.Since 1.6.2.
-
-
-
Method Detail
-
battleComplete
@Deprecated void battleComplete(BattleSpecification battle, RobotResults[] results)
Deprecated.Since 1.6.2. Use theIBattleListener.onBattleCompleted()instead.This method is called when a battle completes successfully.
- Parameters:
battle- information about the battle that completedresults- an array containing the results for the individual robot
-
battleAborted
@Deprecated void battleAborted(BattleSpecification battle)
Deprecated.Since 1.6.2. Use theIBattleListener.onBattleFinished()instead.This method is called when a battle has been aborted.
- Parameters:
battle- information about the battle that was aborted
-
battleMessage
@Deprecated void battleMessage(java.lang.String message)
Deprecated.Since 1.6.2. Use theIBattleListener.onBattleMessage()instead.This method is called when the game logs messages that is normally written out to the console.
- Parameters:
message- the message logged by the game
-
-