megamek.common.loaders
Class BLKAeroFile

java.lang.Object
  extended by megamek.common.loaders.BLKFile
      extended by megamek.common.loaders.BLKAeroFile
All Implemented Interfaces:
IMechLoader

public class BLKAeroFile
extends BLKFile
implements IMechLoader


Field Summary
static int AFT
           
static int LW
           
static int NOSE
           
static int RW
           
 
Fields inherited from class megamek.common.loaders.BLKFile
COMPACT, dataFile, FISSION, FUELCELL, FUSION, ICE, LIGHT, XL, XXL
 
Constructor Summary
BLKAeroFile(BuildingBlock bb)
           
 
Method Summary
 Entity getEntity()
          Return a valid mech, matching the file to the best of MegaMek's current capabilities, or throw an exception with a helpful message.
protected  void loadEquipment(Entity t, java.lang.String sName, int nLoc)
           
 
Methods inherited from class megamek.common.loaders.BLKFile
isMine, setTechLevel, translateEngineCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOSE

public static final int NOSE
See Also:
Constant Field Values

RW

public static final int RW
See Also:
Constant Field Values

LW

public static final int LW
See Also:
Constant Field Values

AFT

public static final int AFT
See Also:
Constant Field Values
Constructor Detail

BLKAeroFile

public BLKAeroFile(BuildingBlock bb)
Method Detail

getEntity

public Entity getEntity()
                 throws EntityLoadingException
Description copied from interface: IMechLoader
Return a valid mech, matching the file to the best of MegaMek's current capabilities, or throw an exception with a helpful message.

Specified by:
getEntity in interface IMechLoader
Throws:
EntityLoadingException

loadEquipment

protected void loadEquipment(Entity t,
                             java.lang.String sName,
                             int nLoc)
                      throws EntityLoadingException
Overrides:
loadEquipment in class BLKFile
Throws:
EntityLoadingException