Deprecated API

Contents

Deprecated Methods

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