Package robocode.robotinterfaces
Interface IBasicEvents3
- All Superinterfaces:
IBasicEvents,IBasicEvents2
- All Known Implementing Classes:
_AdvancedRadiansRobot,_AdvancedRobot,AdvancedRobot,RateControlRobot,Robot,TeamRobot
Second extended version of the
IBasicEvents interface.- Since:
- 1.7.2
- Author:
- Flemming N. Larsen (original)
-
Method Summary
Modifier and TypeMethodDescriptionvoidonRoundEnded(RoundEndedEvent event) This method is called after the end of a round.Methods inherited from interface robocode.robotinterfaces.IBasicEvents
onBulletHit, onBulletHitBullet, onBulletMissed, onDeath, onHitByBullet, onHitRobot, onHitWall, onRobotDeath, onScannedRobot, onStatus, onWinMethods inherited from interface robocode.robotinterfaces.IBasicEvents2
onBattleEnded
-
Method Details
-
onRoundEnded
This method is called after the end of a round. You should override it in your robot if you want to be informed of this event.Example:
public void onRoundEnded(RoundEndedEvent event) { out.println("The round has ended"); }- Parameters:
event- the RoundEndedEvent event set by the game- Since:
- 1.7.2
- See Also:
-