Package megamek.common.compute.damage
Interface CritAssignment
- All Known Implementing Classes:
CritAssignment.AeroFighterCrit,CritAssignment.EquipmentCrit,CritAssignment.MekSystemCrit,CritAssignment.VehicleCrit
public sealed interface CritAssignment
permits CritAssignment.EquipmentCrit, CritAssignment.MekSystemCrit, CritAssignment.VehicleCrit, CritAssignment.AeroFighterCrit
One critical hit assigned by the pre-existing damage rules (First Succession War, p.144). Each implementation targets
one control of the unit editor dialog; the dialog translates assignments into checked crit boxes.
These records are transient dialog data and are never serialized or stored in game state, so they need no
SerializationHelper converter.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA critical hit on an aerospace or conventional fighter system.static enumFighter critical hit results that the unit editor dialog can represent.static final recordA critical hit on a piece of equipment (weapon, heat sink, other hittable equipment), identified by its equipment number on the unit.static final recordA critical hit on a Mek system slot: engine, gyro, sensors, life support, actuators, LAM avionics/landing gear, or QuadVee conversion gear.static final recordA critical hit on a combat vehicle system.static enumCombat vehicle critical hit results that the unit editor dialog can represent.