Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionSince 1.6.2. Use the
IBattleListener
instead.A listener interface for receiving callbacks from the
RobocodeEngine
.
-
Deprecated MethodsMethodDescriptionUse
execute
instead.UsegetGunHeading()
instead.UsegetHeading()
instead.This method is no longer functional. UseAdvancedRobot.onSkippedTurn(SkippedTurnEvent)
instead.UsegetRadarHeading()
instead.This method is no longer functional. UseAdvancedRobot.onSkippedTurn(SkippedTurnEvent)
instead.UsesetTurnGunLeft
instead.UsesetTurnGunRight
instead.UsesetTurnLeft(double)
instead.UsesetTurnRadarLeft(double)
instead.UsesetTurnRadarRight
instead.UsesetTurnRight(double)
instead.UseturnGunLeft
instead.UseturnGunRight
instead.UseturnLeft(double)
instead.UseturnRadarLeft
instead.UseturnRadarRight
instead.UseturnRight(double)
instead.UsegetRoundNum()
instead.UsegetGunHeat()
instead.This call is not used.UsegetEnergy()
instead.UsegetNumRounds()
instead.This call is not used.This call is not used.This call is not used.This call is not used.This call is not used.UseBulletHitEvent.getEnergy()
instead.UseBulletHitEvent.getEnergy()
instead.UseBulletHitEvent.getName()
instead.Since 1.6.2. Use theIBattleListener.onBattleFinished()
instead.This method is called when a battle has been aborted.
Since 1.6.2. Use theIBattleListener.onBattleCompleted()
instead.This method is called when a battle completes successfully.
Since 1.6.2. Use theIBattleListener.onBattleMessage()
instead.This method is called when the game logs messages that is normally written out to the console.
UseHitByBulletEvent.getHeading()
instead.UseHitRobotEvent.getBearing()
instead.UseHitRobotEvent.getName()
instead.UseHitWallEvent.getBearing()
instead.UseRobotDeathEvent.getName()
instead.UseScannedRobotEvent.getEnergy()
instead.UseScannedRobotEvent.getBearing()
instead.UseScannedRobotEvent.getBearing()
instead.UseScannedRobotEvent.getBearingRadians()
instead.UseScannedRobotEvent.getDistance()
instead.UseScannedRobotEvent.getHeading()
instead.UseScannedRobotEvent.getHeading()
instead.UseScannedRobotEvent.getHeadingRadians()
instead.UseScannedRobotEvent.getEnergy()
instead.UseScannedRobotEvent.getName()
instead.UseScannedRobotEvent.getVelocity()
instead.
-
Deprecated ConstructorsConstructorDescriptionSince 1.6.2. Use
RobocodeEngine(File)
andaddBattleListener()
instead.Creates a new RobocodeEngine for controlling Robocode.
Since 1.6.2. UseRobocodeEngine()
andaddBattleListener()
instead.Creates a new RobocodeEngine for controlling Robocode. The JAR file of Robocode is used to determine the root directory of Robocode.