Package megamek.client.ui.dialogs.unitEditor
package megamek.client.ui.dialogs.unitEditor
-
ClassDescriptionA row of check boxes standing for the critical hits a system or a piece of equipment has taken.The armor-diagram half of the unit damage editor: the unit's clickable armor diagram beside a panel of the chosen location's controls.Rolls pre-existing damage (FSW p.144) into a unit editor's controls, and restores them.The controls of the unit damage editor, held in one place so that the classes that build them, the classes that read them back onto the unit, and the dialog that lays them out all work on the same set.One line of the damage summary on the general panel: the clickable label and the location whose panel it opens, so that a gamemaster can find a jammed or breached item without paging through every location.A two-state equipment mode switch: the toggle button and the internal mode name each of its states stands for, so the chosen mode can be read back without re-deriving which mode was which.Builds the controls of the unit damage editor: a panel per unit location holding that location's armor and structure, the systems that sit in it, and the equipment mounted in it.Reads the damage editor's controls into a
DamageEditSpec, the plain-value form of the edits that can be applied to a unit anywhere: locally in the lobby, or on the server in play.