|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBasicEvents2
First extended version of the IBasicEvents
interface.
Method Summary | |
---|---|
void |
onBattleEnded(BattleEndedEvent event)
This method is called after the end of the battle, even when the battle is aborted. |
Methods inherited from interface robocode.robotinterfaces.IBasicEvents |
---|
onBulletHit, onBulletHitBullet, onBulletMissed, onDeath, onHitByBullet, onHitRobot, onHitWall, onRobotDeath, onScannedRobot, onStatus, onWin |
Method Detail |
---|
void onBattleEnded(BattleEndedEvent event)
public void onBattleEnded(BattleEndedEvent event) { out.println("The battle has ended"); }
event
- the BattleEndedEvent set by the gameBattleEndedEvent
,
IBasicEvents3.onRoundEnded(RoundEndedEvent)
,
WinEvent
,
DeathEvent
,
Event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |