Package megameklab.printing
Class PrintUtil
java.lang.Object
megameklab.printing.PrintUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isPrintableBAEquipment
(megamek.common.EquipmentType eq) simple method to let us know if eq should be printed on the weapons and equipment section of the Record sheet.static boolean
isPrintableEquipment
(megamek.common.EquipmentType eq) static boolean
isPrintableEquipment
(megamek.common.EquipmentType eq, boolean isMek) simple method to let us know if eq should be printed on the weapons and equipment section of the Record sheet.static boolean
isPrintableEquipment
(megamek.common.EquipmentType eq, megamek.common.Entity entity) simple method to let us know if eq should be printed on the weapons and equipment section of the Record sheet.
-
Method Details
-
isPrintableEquipment
public static boolean isPrintableEquipment(megamek.common.EquipmentType eq) -
isPrintableEquipment
public static boolean isPrintableEquipment(megamek.common.EquipmentType eq, megamek.common.Entity entity) 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 equipmententity
- The Entity it's mounted on- Returns:
- Whether the equipment should be shown on the record sheet
-
isPrintableEquipment
public static boolean isPrintableEquipment(megamek.common.EquipmentType eq, boolean isMek) 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 equipmentisMek
- 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.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
-