## Deprecated API

Contents

- Deprecated Methods

Deprecated Methods
robocode._AdvancedRobot.endTurn() Use `execute` instead.
robocode._Robot.getBattleNum() Use `getRoundNum()` instead.
robocode.control.BattleSpecification.getBattleProperties() This methods is called by the game and is very likely to be removed in a future version of Robocode.
robocode.HitRobotEvent.getBearingDegrees() Use `HitRobotEvent.getBearing()` instead.
robocode.HitWallEvent.getBearingDegrees() Use `HitWallEvent.getBearing()` instead.
robocode._Robot.getGunCharge() Use `getGunHeat()` instead.
robocode._AdvancedRobot.getGunHeadingDegrees() Use `getGunHeading()` instead.
robocode._Robot.getGunImageName() This call is not used.
robocode.HitByBulletEvent.getHeadingDegrees() Use `HitByBulletEvent.getHeading()` instead.
robocode._AdvancedRobot.getHeadingDegrees() Use `getHeading()` instead.
robocode.BulletHitEvent.getLife() Use `BulletHitEvent.getEnergy()` instead.
robocode.ScannedRobotEvent.getLife() Use `ScannedRobotEvent.getEnergy()` instead.
robocode._Robot.getLife() Use `getEnergy()` instead.
robocode._AdvancedRobot.getMaxWaitCount() This method is no longer functional. Use `AdvancedRobot.onSkippedTurn(SkippedTurnEvent)` instead.
robocode._Robot.getNumBattles() Use `getNumRounds()` instead.
robocode._AdvancedRobot.getRadarHeadingDegrees() Use `getRadarHeading()` instead.
robocode._Robot.getRadarImageName() This call is not used.
robocode.ScannedRobotEvent.getRobotBearing() Use `ScannedRobotEvent.getBearing()` instead.
robocode.ScannedRobotEvent.getRobotBearingDegrees() Use `ScannedRobotEvent.getBearing()` instead.
robocode.ScannedRobotEvent.getRobotBearingRadians() Use `ScannedRobotEvent.getBearingRadians()` instead.
robocode.ScannedRobotEvent.getRobotDistance() Use `ScannedRobotEvent.getDistance()` instead.
robocode.ScannedRobotEvent.getRobotHeading() Use `ScannedRobotEvent.getHeading()` instead.
robocode.ScannedRobotEvent.getRobotHeadingDegrees() Use `ScannedRobotEvent.getHeading()` instead.
robocode.ScannedRobotEvent.getRobotHeadingRadians() Use `ScannedRobotEvent.getHeadingRadians()` instead.
robocode._Robot.getRobotImageName() This call is not used.
robocode.BulletHitEvent.getRobotLife() Use `BulletHitEvent.getEnergy()` instead.
robocode.ScannedRobotEvent.getRobotLife() Use `ScannedRobotEvent.getEnergy()` instead.
robocode.BulletHitEvent.getRobotName() Use `BulletHitEvent.getName()` instead.
robocode.HitRobotEvent.getRobotName() Use `HitRobotEvent.getName()` instead.
robocode.RobotDeathEvent.getRobotName() Use `RobotDeathEvent.getName()` instead.
robocode.ScannedRobotEvent.getRobotName() Use `ScannedRobotEvent.getName()` instead.
robocode.ScannedRobotEvent.getRobotVelocity() Use `ScannedRobotEvent.getVelocity()` instead.
robocode._AdvancedRobot.getWaitCount() This method is no longer functional. Use `AdvancedRobot.onSkippedTurn(SkippedTurnEvent)` instead.
robocode._Robot.setGunImageName(String) This call is not used.
robocode._Robot.setRadarImageName(String) This call is not used.
robocode._Robot.setRobotImageName(String) This call is not used.
robocode._AdvancedRobot.setTurnGunLeftDegrees(double) Use `setTurnGunLeft` instead.
robocode._AdvancedRobot.setTurnGunRightDegrees(double) Use `setTurnGunRight` instead.
robocode._AdvancedRobot.setTurnLeftDegrees(double) Use `setTurnLeft(double)` instead.
robocode._AdvancedRobot.setTurnRadarLeftDegrees(double) Use `setTurnRadarLeft(double)` instead.
robocode._AdvancedRobot.setTurnRadarRightDegrees(double) Use `setTurnRadarRight` instead.
robocode._AdvancedRobot.setTurnRightDegrees(double) Use `setTurnRight(double)` instead.
robocode._AdvancedRobot.turnGunLeftDegrees(double) Use `turnGunLeft` instead.
robocode._AdvancedRobot.turnGunRightDegrees(double) Use `turnGunRight` instead.
robocode._AdvancedRobot.turnLeftDegrees(double) Use `turnLeft(double)` instead.
robocode._AdvancedRobot.turnRadarLeftDegrees(double) Use `turnRadarLeft` instead.
robocode._AdvancedRobot.turnRadarRightDegrees(double) Use `turnRadarRight` instead.
robocode._AdvancedRobot.turnRightDegrees(double) Use `turnRight(double)` instead.