out.write(((Mech) e).getMtf()); } else if (e instanceof Tank) { outFilename += ".blk";
if (en instanceof Mech) { pw1.print("\t\t<mtf>"); pw1.print(((Mech) en).getMtf()); pw1.print("\t\t</mtf>\n"); } else {
p.println(((Mech) newEntity).getMtf()); p.close(); out.close();
fileNameCampaign); PrintStream p = new PrintStream(out); p.println(((Mech) unit.getEntity()).getMtf()); p.close(); out.close();