Class LowestForceAsUnit

java.lang.Object
megamek.common.strategicBattleSystems.BaseFormationConverter<Formation>
megamek.common.autoResolve.converter.LowestForceAsUnit

public class LowestForceAsUnit extends BaseFormationConverter<Formation>
  • Constructor Details

  • Method Details

    • convert

      public Formation convert()
      Description copied from class: BaseFormationConverter
      Returns 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:
      convert in class BaseFormationConverter<Formation>