protected double currentRobotWeight()
  {
    if (this.RobotOnRamp != null)
    {
      RobotPart[] arrayOfRobotPart = this.RobotOnRamp.getRobotParts();
      double d = 0.0D;
      for (int i = 0; i < arrayOfRobotPart.length; i++) {
        if (!(arrayOfRobotPart[i] instanceof Chassis))
          d += arrayOfRobotPart[i].getWeight();
      }
      return d;
    }

    return 0.0D;
  }