} 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);
    private static String formatArmor(Entity e)    {        if (e instanceof Mech) {            return formatArmorMech((Mech)e);        }        return "";    }