# Deprecated API

  ## Deprecated Interfaces

  RobocodeListener Since 1.6.2.

  ## 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.control.RobocodeListener.void battleComplete(BattleSpecification,RobotResults[]) Since 1.6.2.
  robocode.control.RobocodeListener.void battleAborted(BattleSpecification) Since 1.6.2.
  robocode.control.RobocodeListener.void battleMessage(String) Since 1.6.2.
  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.