Package mekhq.campaign.unit.actions
Class AdjustLargeCraftAmmoAction
java.lang.Object
mekhq.campaign.unit.actions.AdjustLargeCraftAmmoAction
- All Implemented Interfaces:
- IUnitAction
Checks for additional ammo bins and adds the appropriate part.
 
Large craft can combine all the ammo of a single type into a single bin. Switching the munition type of one or more tons of ammo can require the addition of an ammo bin and can change the ammo bin capacity.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
AdjustLargeCraftAmmoActionpublic AdjustLargeCraftAmmoAction()
 
- 
- 
Method Details- 
executeDescription copied from interface:IUnitActionExecutes an action against a unit in a campaign. The action may have side effects.- Specified by:
- executein interface- IUnitAction
- Parameters:
- campaign- The campaign object this action is executed against.
- unit- The unit object this action is executed against.
 
 
-