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 Summary
Constructors -
Method Summary
-
Constructor Details
-
AdjustLargeCraftAmmoAction
public AdjustLargeCraftAmmoAction()
-
-
Method Details
-
execute
Description copied from interface:IUnitAction
Executes an action against a unit in a campaign. The action may have side effects.- Specified by:
execute
in interfaceIUnitAction
- Parameters:
campaign
- The campaign object this action is executed against.unit
- The unit object this action is executed against.
-