|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
onBulletHitBullet
when one of your bullets has hit another bullet.onBulletHit
when one of your bullets has hit another robot.onBulletMissed
when one of your bullets has missed, i.e. when the bullet has
reached the border of the battlefield.AdvancedRobot
.onCustomEvent
when
a custom condition is met.onDeath
when your robot dies.execute
instead.
getRoundNum
instead.
HitRobotEvent.getBearing()
instead.
HitWallEvent.getBearing()
instead.
RobocodeFileOutputStream
or
RobocodeFileWriter
.
RobocodeFileOutputStream
or RobocodeFileWriter
.
getGunHeat
instead.
getGunHeading
instead.
getHeading
instead.
HitByBulletEvent.getHeading()
instead.
getEnergy
instead.
BulletHitEvent.getEnergy()
instead.
ScannedRobotEvent.getEnergy()
instead.
AdvancedRobot.onSkippedTurn(SkippedTurnEvent)
instead.
getNumRounds
instead.
getRadarHeading
instead.
ScannedRobotEvent.getBearing()
instead.
ScannedRobotEvent.getBearing()
instead.
ScannedRobotEvent.getBearingRadians()
instead.
ScannedRobotEvent.getDistance()
instead.
ScannedRobotEvent.getHeading()
instead.
ScannedRobotEvent.getHeading()
instead.
ScannedRobotEvent.getHeadingRadians()
instead.
BulletHitEvent.getEnergy()
instead.
ScannedRobotEvent.getEnergy()
instead.
BulletHitEvent.getName()
instead.
HitRobotEvent.getName()
instead.
RobotDeathEvent.getName()
instead.
ScannedRobotEvent.getName()
instead.
ScannedRobotEvent.getVelocity()
instead.
Robot.getNumRounds()
- 1)
in the battle.
null
if
the bullet has not hit a robot.
AdvancedRobot.onSkippedTurn(SkippedTurnEvent)
instead.
onHitByBullet
when
your robot has been hit by a bullet.onHitRobot
when your
robot collides with another robot.onHitWall
when you collide
a wall.onMessageReceived
when a teammate sends a message to your robot.AdvancedRobot.getDataFile(String)
.AdvancedRobot.getDataFile(String)
.onRobotDeath
when another
robot (not your robot) dies.onScannedRobot
when you scan a robot.AdvancedRobot
,
and will no longer function in the Robot class.
Rules.MAX_TURN_RATE
(10 degress/turn).
Rules.MAX_VELOCITY
(8 pixels/turn).
Robot.stop()
, but returns immediately,
and will not execute until you call execute() or take an action that
executes.
Robot.stop(boolean)
, but returns
immediately, and will not execute until you call execute() or take an
action that executes.
setTurnGunLeft
instead.
setTurnGunRight
instead.
setTurnLeft
instead.
setTurnRadarLeft
instead.
setTurnRadarRight
instead.
setTurnRight
instead.
onSkippedTurn
when your robot is forced to skipping a turn.turnGunLeft
instead.
turnGunRight
instead.
turnLeft
instead.
turnRadarLeft
instead.
turnRadarRight
instead.
turnRight
instead.
Condition.test()
returns true
.
onWin
when your robot wins the
round.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |