Class ShortBattleReportGenerator
java.lang.Object
megamek.common.autoResolve.acar.report.ShortBattleReportGenerator
Generates narrative summary text for battle reports based on the context and outcome. Uses localized text templates
from properties files.
- Since:
- 0.50.07
-
Constructor Summary
ConstructorsConstructorDescriptionShortBattleReportGenerator
(SimulationManager simulationManager) Constructor for BattleReportGenerator -
Method Summary
Modifier and TypeMethodDescriptionGenerates a factual battle report based on simulation results.
-
Constructor Details
-
ShortBattleReportGenerator
Constructor for BattleReportGenerator- Parameters:
simulationManager
- The simulation manager with access to victory results
-
-
Method Details
-
generateReport
Generates a factual battle report based on simulation results.- Returns:
- Formatted battle report with two paragraphs
-