public static String armorStringFor(int value){
  if (value == IArmorState.ARMOR_NA) {
    return "N/A";
  }
 else   if ((value == IArmorState.ARMOR_DOOMED) || (value == IArmorState.ARMOR_DESTROYED)) {
    return "***";
  }
 else {
    return Integer.toString(value);
  }
}

public static String armorStringFor ( int value ) { if ( value == IArmorState . ARMOR_NA ) { return "N/A" ; } else if ( ( value == IArmorState . ARMOR_DOOMED ) || ( value == IArmorState . ARMOR_DESTROYED ) ) { return "***" ; } else { return Integer . toString ( value ) ; } }
parses the game ' s internal armor representation into a human - readable string .
