Class RepairStatusChangedEvent

java.lang.Object
megamek.common.event.MMEvent
mekhq.campaign.event.RepairStatusChangedEvent

public class RepairStatusChangedEvent extends megamek.common.event.MMEvent
Triggered when a damaged unit has the repair location changed or is toggled between salvage and repair. The repair site can be found with getUnit().getSite() and the repair/salvage flag with getUnit().isSalvage().
  • Constructor Details

    • RepairStatusChangedEvent

      public RepairStatusChangedEvent(Unit unit)
  • Method Details

    • getUnit

      public Unit getUnit()