Class PrintUtil

java.lang.Object
megameklab.printing.PrintUtil

public final class PrintUtil extends Object
  • Method Details

    • isPrintableEquipment

      public static boolean isPrintableEquipment(megamek.common.equipment.EquipmentType eq, RecordSheetOptions options)
    • isPrintableEquipment

      public static boolean isPrintableEquipment(megamek.common.equipment.EquipmentType eq, megamek.common.units.Entity entity, RecordSheetOptions options)
      simple method to let us know if eq should be printed on the weapons and equipment section of the Record sheet.
      Parameters:
      eq - The equipment to test The equipment
      entity - The Entity it's mounted on
      Returns:
      Whether the equipment should be shown on the record sheet
    • isPrintableEquipment

      public static boolean isPrintableEquipment(megamek.common.equipment.EquipmentType eq, boolean isMek, RecordSheetOptions options)
      simple method to let us know if eq should be printed on the weapons and equipment section of the Record sheet.
      Parameters:
      eq - The equipment to test The equipment
      isMek - Whether the equipment is mounted on a Mek
      Returns:
      Whether the equipment should be shown on the record sheet
    • isPrintableBAEquipment

      public static boolean isPrintableBAEquipment(megamek.common.equipment.EquipmentType eq)
      simple method to let us know if eq should be printed on the weapons and equipment section of the Record sheet.
      Parameters:
      eq - The equipment to test
      Returns:
      True when it should appear on the record sheet