Class SBFFormationConverter
java.lang.Object
megamek.common.strategicBattleSystems.BaseFormationConverter<SBFFormation>
megamek.common.strategicBattleSystems.SBFFormationConverter
-
Field Summary
Fields inherited from class megamek.common.strategicBattleSystems.BaseFormationConverter
force, formation, game, report -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcalculateStatsFromUnits(SBFFormation formation) convert()Returns an SBF Formation formed from the given force.Methods inherited from class megamek.common.strategicBattleSystems.BaseFormationConverter
calcSbfFormationStats, canConvertToSbfFormation
-
Constructor Details
-
SBFFormationConverter
-
-
Method Details
-
calculateStatsFromUnits
-
convert
Description copied from class:BaseFormationConverterReturns an SBF Formation formed from the given force. When the force cannot be converted to an SBF Formation according to the rules, returns null. The given force must be approximately company-shaped to work, i.e. it has to contain some subForces with some entities in each sub force but no further subForces.- Specified by:
convertin classBaseFormationConverter<SBFFormation>
-