megamek.common.loaders
Class BLKMechFile

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

public class BLKMechFile
extends BLKFile
implements IMechLoader


Field Summary
static int CB
           
static int CF
           
static int CT
           
static int HD
           
static int LA
           
static int LB
           
static int LF
           
static int LL
           
static int LT
           
static int RA
           
static int RB
           
static int RF
           
static int RL
           
static int RT
           
 
Fields inherited from class megamek.common.loaders.BLKFile
COMPACT, dataFile, FISSION, FUELCELL, FUSION, ICE, LIGHT, XL, XXL
 
Constructor Summary
BLKMechFile(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.
 
Methods inherited from class megamek.common.loaders.BLKFile
isMine, loadEquipment, setTechLevel, translateEngineCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HD

public static final int HD
See Also:
Constant Field Values

LA

public static final int LA
See Also:
Constant Field Values

LF

public static final int LF
See Also:
Constant Field Values

LB

public static final int LB
See Also:
Constant Field Values

CF

public static final int CF
See Also:
Constant Field Values

CB

public static final int CB
See Also:
Constant Field Values

RF

public static final int RF
See Also:
Constant Field Values

RB

public static final int RB
See Also:
Constant Field Values

RA

public static final int RA
See Also:
Constant Field Values

LL

public static final int LL
See Also:
Constant Field Values

RL

public static final int RL
See Also:
Constant Field Values

CT

public static final int CT
See Also:
Constant Field Values

RT

public static final int RT
See Also:
Constant Field Values

LT

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

BLKMechFile

public BLKMechFile(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