Package megamek.common.cost
Class CostCalculator
java.lang.Object
megamek.common.cost.CostCalculator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddNoReportNote(CalculationReport costReport, Entity entity) Adds a note to the given CalculationReport that no report is available for units of the given entity's type.
-
Constructor Details
-
CostCalculator
public CostCalculator()
-
-
Method Details
-
addNoReportNote
Adds a note to the given CalculationReport that no report is available for units of the given entity's type. Null parameters can be safely passed to this method.- Parameters:
costReport- The CalculationReport to add the note toentity- The unit to calculate costs for
-