robocode.control
Interface RobocodeListener
public interface RobocodeListener
- Mathew A. Nelson (original)
- Flemming N. Larsen (contributor)
battleAborted
public void battleAborted(BattleSpecification battle)
This method is called when a battle has been aborted.
battle
- information about the battle that was aborted
battleComplete
public void battleComplete(BattleSpecification battle,
RobotResults[] results)
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
battleMessage
public void battleMessage(String message)
This method is called when the game logs messages that is normally
written out to the console.
message
- the message logged by the game