Package megameklab.printing
Class PrintUtil
java.lang.Object
megameklab.printing.PrintUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisPrintableBAEquipment(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.static booleanisPrintableEquipment(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.static booleanisPrintableEquipment(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.static booleanisPrintableEquipment(megamek.common.equipment.EquipmentType eq, RecordSheetOptions options)
-
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 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.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 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.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
-