public double calculateWeight(int trooper){
  double weight=0;
  weight+=getWeightStructure();
  weight+=getWeightArmor();
  weight+=getWeightMiscEquip(trooper);
  weight+=getWeightWeapon(trooper);
  weight+=getWeightAmmo(trooper);
  return Math.round(weight * 1000) / 1000.0;
}

public double calculateWeight ( int trooper ) { double weight = 0 ; weight += getWeightStructure ( ) ; weight += getWeightArmor ( ) ; weight += getWeightMiscEquip ( trooper ) ; weight += getWeightWeapon ( trooper ) ; weight += getWeightAmmo ( trooper ) ; return Math . round ( weight * 1000 ) / 1000.0 ; }
there are some cases where we need to know the weight of an individual trooper in the battlearmor squad , this method provides that .
