|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmegamek.common.util.RandomArmyCreator.Parameters
public static class RandomArmyCreator.Parameters
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 |
|---|
public int mechs
public int tanks
public int ba
public int infantry
public int maxBV
public int minBV
public int maxYear
public int minYear
public int tech
public boolean canon
public boolean padWithInfantry
| Constructor Detail |
|---|
public RandomArmyCreator.Parameters()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||