private static class ReportColonyPanel.Suggestion
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
amount |
GoodsType |
goodsType |
UnitType |
newType |
UnitType |
oldType |
| Constructor and Description |
|---|
Suggestion(UnitType oldType,
UnitType newType,
GoodsType goodsType,
int amount)
Suggest that work done by (optional) oldType would be
better done by newType because it could produce amount more
goodsType.
|
public final UnitType oldType
public final UnitType newType
public final GoodsType goodsType
public final int amount
public Suggestion(UnitType oldType, UnitType newType, GoodsType goodsType, int amount)
oldType - The optional UnitType currently
doing the work.newType - A new UnitType to do the work.goodsType - The GoodsType to produce.amount - The extra goods that would be produced if the
suggestion is taken.