Class UnitBay

java.lang.Object
megamek.common.bays.Bay
megamek.common.bays.UnitBay
All Implemented Interfaces:
Serializable, Transporter, ITechnology
Direct Known Subclasses:
AbstractSmallCraftASFBay, DropShuttleBay, HeavyVehicleBay, LightVehicleBay, MekBay, NavalRepairFacility, ProtoMekBay, SuperHeavyVehicleBay

public class UnitBay extends Bay
Represents a volume of space set aside for carrying units of some sort aboard large spacecraft and mobile structures
See Also:
  • Constructor Details

    • UnitBay

      protected UnitBay()
      The default constructor is only for serialization.
    • UnitBay

      @Deprecated(since="0.51.0", forRemoval=true) public UnitBay(double space, int doors, int bayNumber)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a space for the given tonnage of troops. For this class, only the weight of the troops (and their equipment) are considered; if you'd like to think that they are stacked like lumber, be my guest.
      Parameters:
      space - The weight of troops (in tons) this space can carry.
      doors - The number of bay doors
      bayNumber - The id number for the bay