continue; if (ishtml && (next instanceof Bay) && (((Bay) next).getBayDamage() > 0)) { result.append("<font color='red'>") .append(next.getUnusedString())
if (null != bay) { int prevHits = hits; hits = (int) bay.getBayDamage(); int prevDoorHits = 0; for (int id : childPartIds) {
+ "</b><br></html>"), gridBagConstraints); bayCrit = new JSpinner(new SpinnerNumberModel(nextbay.getCapacity() - nextbay.getBayDamage(), 0, nextbay.getCapacity(), nextbay.isCargo()? 0.5: 1.0)); bayDamage[b] = bayCrit;
output.write(indentStr(indentLvl+1) + "<transportBay index=\"" + nextbay.getBayNumber() + "\">"); output.write(CommonConstants.NL); output.write(indentStr(indentLvl + 2) + "<damage>" + nextbay.getBayDamage() + "</damage>"); output.write(CommonConstants.NL); output.write(indentStr(indentLvl + 2) + "<doors>" + nextbay.getCurrentDoors() + "</doors>");
if (next.getBayDamage() > 0) { if (!first) { toReturn += ", ";