public static class DefaultFleetInflater.AvailableFighterImpl extends java.lang.Object implements AutofitPlugin.AvailableFighter
| Modifier and Type | Field and Description |
|---|---|
protected int |
quantity |
protected FighterWingSpecAPI |
spec |
| Constructor and Description |
|---|
AvailableFighterImpl(FighterWingSpecAPI spec,
int quantity) |
AvailableFighterImpl(java.lang.String wingId,
int quantity) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId() |
float |
getPrice() |
int |
getQuantity() |
CargoAPI |
getSource() |
SubmarketAPI |
getSubmarket() |
FighterWingSpecAPI |
getWingSpec() |
void |
setQuantity(int quantity) |
protected FighterWingSpecAPI spec
protected int quantity
public AvailableFighterImpl(FighterWingSpecAPI spec, int quantity)
public AvailableFighterImpl(java.lang.String wingId, int quantity)
public java.lang.String getId()
getId in interface AutofitPlugin.AvailableFighterpublic float getPrice()
getPrice in interface AutofitPlugin.AvailableFighterpublic int getQuantity()
getQuantity in interface AutofitPlugin.AvailableFighterpublic CargoAPI getSource()
getSource in interface AutofitPlugin.AvailableFighterpublic SubmarketAPI getSubmarket()
getSubmarket in interface AutofitPlugin.AvailableFighterpublic FighterWingSpecAPI getWingSpec()
getWingSpec in interface AutofitPlugin.AvailableFighterpublic void setQuantity(int quantity)
setQuantity in interface AutofitPlugin.AvailableFighter