Class UnitEditorDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class UnitEditorDialog extends JDialog
This dialog will allow the user to edit the damage and status characteristics of a unit. This is designed for use in both MegaMek and MHQ so don't go messing things up for MHQ by changing a bunch of stuff
See Also:
  • Constructor Details

    • UnitEditorDialog

      public UnitEditorDialog(JFrame parent, Entity m)
  • Method Details

    • damageSCM

      public void damageSCM(Entity entity, int eqNum, int hits)
      Applies the given number of total crits to a Super-Cooled Myomer (which is spread over 6 locations).