megamek.common.util
Class RandomArmyCreator.Parameters

java.lang.Object
  extended by megamek.common.util.RandomArmyCreator.Parameters
Enclosing class:
RandomArmyCreator

public static class RandomArmyCreator.Parameters
extends java.lang.Object

Parameters for the random army generator


Field Summary
 int ba
          Number of battle armor infantry to include
 boolean canon
          Canon units only?
 int infantry
          Number of conventional infantry to include
 int maxBV
          Maximum battle value
 int maxYear
          Latest design year
 int mechs
          Number of mechs to include in the army
 int minBV
          Minimum battle value
 int minYear
          Earliest design year
 boolean padWithInfantry
          If true, add extra infantry to pad out the BV and get closer to maximum
 int tanks
          Number of combat vehicles to include
 int tech
          A value from TechConstants, which will filter the units
 
Constructor Summary
RandomArmyCreator.Parameters()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mechs

public int mechs
Number of mechs to include in the army


tanks

public int tanks
Number of combat vehicles to include


ba

public int ba
Number of battle armor infantry to include


infantry

public int infantry
Number of conventional infantry to include


maxBV

public int maxBV
Maximum battle value


minBV

public int minBV
Minimum battle value


maxYear

public int maxYear
Latest design year


minYear

public int minYear
Earliest design year


tech

public int tech
A value from TechConstants, which will filter the units


canon

public boolean canon
Canon units only?


padWithInfantry

public boolean padWithInfantry
If true, add extra infantry to pad out the BV and get closer to maximum

Constructor Detail

RandomArmyCreator.Parameters

public RandomArmyCreator.Parameters()