} else if (e instanceof GunEmplacement) { return formatArmorGunEmplacement((GunEmplacement)e);
    private static String formatArmor(Entity e) {        if (e instanceof Mech) {            return formatArmorMech((Mech)e);        } else if (e instanceof Tank) {            return formatArmorTank((Tank)e);        } else if (e instanceof BattleArmor) {            return formatArmorBattleArmor((BattleArmor)e);        } else if (e instanceof Infantry) {            return formatArmorInfantry((Infantry)e);        } else if (e instanceof Protomech) {            return formatArmorProtomech((Protomech)e);        }        return "";    }