megamek.common.loaders
Class BLKTankFile

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

public class BLKTankFile
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
BLKTankFile(BuildingBlock bb)
           
 
Method Summary
static void encode(java.lang.String fileName, Tank t)
           
 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
 

Constructor Detail

BLKTankFile

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

encode

public static void encode(java.lang.String fileName,
                          Tank t)