Package megamek.common.loaders
Class BLKSupportTankFile
java.lang.Object
megamek.common.loaders.BLKFile
megamek.common.loaders.BLKSupportTankFile
- All Implemented Interfaces:
IMekLoader
- Since:
- April 6, 2002, 2:06 AM
-
Nested Class Summary
Nested classes/interfaces inherited from class megamek.common.loaders.BLKFile
BLKFile.ParsedBayInfo -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intdefaultVGLFacing(int location, boolean rearFacing) If a vehicular grenade launcher does not have a facing provided, assign a default facing.Methods inherited from class megamek.common.loaders.BLKFile
addTransports, checkManualBV, defaultAeroVGLFacing, encode, encode, getBlock, getEquipmentType, isMine, loadEquipment, loadInvalidSourceBuildReasons, loadQuirks, loadSlotlessEquipment, loadSVArmor, resetCrew, setArmorTechLevelFromDataFile, setBasicEntityData, setFluff, setTechLevel
-
Constructor Details
-
BLKSupportTankFile
-
-
Method Details
-
defaultVGLFacing
protected int defaultVGLFacing(int location, boolean rearFacing) Description copied from class:BLKFileIf a vehicular grenade launcher does not have a facing provided, assign a default facing. The vehicle location determines this. For ProtoMeks the only legal location is the torso, but it may be mounted rear-facing.- Overrides:
defaultVGLFacingin classBLKFile- Parameters:
location- The location where the VGL is mounted.rearFacing- Whether the VGL is rear-facing.- Returns:
- The facing to assign to the VGL.
-
getEntity
- Specified by:
getEntityin interfaceIMekLoader- Returns:
- A valid mek, matching the file to the best of MegaMek's current capabilities
- Throws:
EntityLoadingException
-