|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Event in robocode |
---|
Subclasses of Event in robocode | |
class |
BulletHitBulletEvent
This event is sent to onBulletHitBullet
when one of your bullets hits another bullet. |
class |
BulletHitEvent
This event is sent to onBulletHit
when one of your bullets hits another robot. |
class |
BulletMissedEvent
This event is sent to onBulletMissed
when one of your bullets has misses. |
class |
CustomEvent
This event is sent to onCustomEvent
when a custom condition is met. |
class |
DeathEvent
This event is sent to onDeath
when your robot dies. |
class |
HitByBulletEvent
A HitByBulletEvent is sent to Robot.onHitByBullet(robocode.HitByBulletEvent) when you are hit by a bullet. |
class |
HitRobotEvent
A HitRobotEvent is sent to Robot.onHitRobot(robocode.HitRobotEvent) when you collide with another robot
You can use the information contained in this event to determine what to do. |
class |
HitWallEvent
A HitWallEvent is sent to Robot.onHitWall(robocode.HitWallEvent) when you collide a wall. |
class |
MessageEvent
A MessageEvent is sent to TeamRobot.onMessageReceived(robocode.MessageEvent) when a teammate sends you a message. |
class |
RobotDeathEvent
This event is sent to onRobotDeath
when another robot (not you) dies. |
class |
ScannedRobotEvent
A ScannedRobotEvent is sent to Robot.onScannedRobot(robocode.ScannedRobotEvent) when you scan a robot. |
class |
SkippedTurnEvent
A SkippedTurnEvent is sent to AdvancedRobot.onSkippedTurn(robocode.SkippedTurnEvent) when skipping a turn. |
class |
WinEvent
This event is sent to onWin
when your robot wins the round. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |