Package megamek.common.units
Interface InfantryTransporter
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BattleArmorBay,CargoBay,InfantryBay,InfantryCompartment
Classes that implement this interface have the ability to load, carry, drop, and unload Infantry units in the game.
This interface includes a subset of the Bay.java class methods and Transporter interface.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanThese methods are required for Infantry unit loading/unloading.default intdoubledoublevoiddoublespaceForUnit(Entity unit)
-
Method Details
-
canLoad
These methods are required for Infantry unit loading/unloading. In practice, all are provided by Bay() or overridden in transports that can carry infantry. -
getDroppableUnits
-
getLoadedUnits
-
getUnused
double getUnused() -
getUnusedSlots
double getUnusedSlots() -
getTransporterType
String getTransporterType() -
load
-
spaceForUnit
-
getCurrentDoors
default int getCurrentDoors()
-