private void drawHeatControl(int t) { drawHeatControl(t, false); }
public MechMapSet(JComponent c, UnitDisplay unitDisplay) { this.unitDisplay = unitDisplay; comp = c; setAreas(); setLabels(); setGroups(); setBackGround(); }
@Override public void addNotify() { super.addNotify(); tank = new TankMapSet(this, unitDisplay); mech = new MechMapSet(this, unitDisplay); infantry = new InfantryMapSet(this); battleArmor = new BattleArmorMapSet(this); proto = new ProtomechMapSet(this, unitDisplay); vtol = new VTOLMapSet(this, unitDisplay); quad = new QuadMapSet(this, unitDisplay); tripod = new TripodMechMapSet(this, unitDisplay); gunEmplacement = new GunEmplacementMapSet(this); armless = new ArmlessMechMapSet(this, unitDisplay); largeSupportTank = new LargeSupportTankMapSet(this, unitDisplay); superHeavyTank = new SuperHeavyTankMapSet(this, unitDisplay); aero = new AeroMapSet(this, unitDisplay); capFighter = new CapitalFighterMapSet(this); sphere = new SpheroidMapSet(this, unitDisplay); jump = new JumpshipMapSet(this, unitDisplay); warship = new WarshipMapSet(this, unitDisplay); squad = new SquadronMapSet(this, game); }
drawHeatControl(m.heat, mtHeat);
inStLeftLeg, unitDisplay, Mech.LOC_LLEG); heatImage = comp.createImage(10, 120); drawHeatControl(0); heatHotArea = new PMPicPolygonalArea(heatControl, heatImage);