megamek.common.loaders
Class BLKBattleArmorFile

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

public class BLKBattleArmorFile
extends BLKFile
implements IMechLoader


Field Summary
 
Fields inherited from class megamek.common.loaders.BLKFile
COMPACT, dataFile, FISSION, FUELCELL, FUSION, ICE, LIGHT, XL, XXL
 
Constructor Summary
BLKBattleArmorFile(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
 

Constructor Detail

BLKBattleArmorFile

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