Package megamek.common.util
Class RandomArmyCreator.Parameters
java.lang.Object
megamek.common.util.RandomArmyCreator.Parameters
- Enclosing class:
RandomArmyCreator
Parameters for the random army generator
-
Field Summary
FieldsModifier and TypeFieldDescriptionAdvanced options for searchintNumber of battle armor infantry to includebooleanCanon units only?intNumber of conventional infantry to includeintMaximum battle valueintLatest design yearintNumber of meks to include in the armyintMinimum battle valueintEarliest design yearbooleanIf true, add extra infantry to pad out the BV and get closer to maximumintNumber of combat vehicles to includeintA value from TechConstants, which will filter the units -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
meks
public int meksNumber of meks to include in the army -
tanks
public int tanksNumber of combat vehicles to include -
ba
public int baNumber of battle armor infantry to include -
infantry
public int infantryNumber of conventional infantry to include -
maxBV
public int maxBVMaximum battle value -
minBV
public int minBVMinimum battle value -
maxYear
public int maxYearLatest design year -
minYear
public int minYearEarliest design year -
tech
public int techA value from TechConstants, which will filter the units -
canon
public boolean canonCanon units only? -
padWithInfantry
public boolean padWithInfantryIf true, add extra infantry to pad out the BV and get closer to maximum -
advancedSearchFilter
Advanced options for search -
asPanel
-
-
Constructor Details
-
Parameters
public Parameters()
-