Class MekUtil.MekCritSlotSorter

java.lang.Object
megameklab.util.MekUtil.MekCritSlotSorter
All Implemented Interfaces:
Comparator<megamek.common.CriticalSlot>
Enclosing class:
MekUtil

public static class MekUtil.MekCritSlotSorter extends Object implements Comparator<megamek.common.CriticalSlot>
A location CriticalSlot sorter using the official sort order (mostly)
  • Constructor Details

    • MekCritSlotSorter

      public MekCritSlotSorter(megamek.common.units.Mek mek)
  • Method Details

    • compare

      public int compare(megamek.common.CriticalSlot critA, megamek.common.CriticalSlot critB)
      Specified by:
      compare in interface Comparator<megamek.common.CriticalSlot>