Package robocode.robotinterfaces
Interface IBasicEvents3
-
- All Superinterfaces:
IBasicEvents,IBasicEvents2
- All Known Implementing Classes:
_AdvancedRadiansRobot,_AdvancedRobot,AdvancedRobot,RateControlRobot,Robot,TeamRobot
public interface IBasicEvents3 extends IBasicEvents2
Second extended version of theIBasicEventsinterface.- Since:
- 1.7.2
- Author:
- Flemming N. Larsen (original)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonRoundEnded(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, onWin
-
Methods inherited from interface robocode.robotinterfaces.IBasicEvents2
onBattleEnded
-
-
-
-
Method Detail
-
onRoundEnded
void onRoundEnded(RoundEndedEvent event)
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:
RoundEndedEvent,IBasicEvents2.onBattleEnded(BattleEndedEvent),WinEvent,DeathEvent,Event
-
-