public String getAccuracyDisplayName() {
float spreadRating = maxSpread;
if (spreadRating <= 0) return "Perfect";
if (spreadRating <= 2) return "Excellent";
if (spreadRating <= 5)return "Good";
if (spreadRating <= 10) return "Medium";
if (spreadRating <= 15) return "Poor";
if (spreadRating <= 20) return "Very Poor";
return "Terrible";
}
public String getTurnRateDisplayName() {
if (turnRate <= 0) return "Can't turn";
if (turnRate <= 5) return "Very Slow";
if (turnRate <= 15)return "Slow";
if (turnRate <= 25) return "Medium";
if (turnRate <= 35) return "Fast";
if (turnRate <= 50) return "Very Fast";
return "Excellent";
}
public String getSpeedDisplayName() {
float speed = hullSpec.getEngineSpec().getMaxSpeed();
if (speed <= 125) return "Very Slow";
if (speed <= 175) return "Slow";
if (speed <= 225) return "Medium";
if (speed <= 275) return "Fast";
return "Very Fast";
}
public String getManeuverabilityDisplayName() {
if (type == MissileType.BOMB || type == MissileType.ROCKET || type == MissileType.NO_AI || type == MissileType.TORPEDO) {
return "None";
}
EngineSpecAPI es = hullSpec.getEngineSpec();
float accelTime = es.getMaxSpeed() / es.getAcceleration();
float turnTime = 180f / es.getMaxTurnRate();
float testValue = accelTime + turnTime;
if (testValue <= 0) return "None";
if (testValue <= 2) return "Excellent";
if (testValue <= 4) return "Good";
if (testValue <= 6) return "Medium";
if (testValue <=
return "Poor";
return "Very Poor";
}