megamek.common.loaders
Class MtfFile
java.lang.Object
megamek.common.loaders.MtfFile
- All Implemented Interfaces:
- IMechLoader
public class MtfFile
- extends java.lang.Object
- implements IMechLoader
- Version:
- Author:
- Ben
|
Constructor Summary |
MtfFile(java.io.InputStream is)
Creates new MtfFile |
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
version
java.lang.String version
name
java.lang.String name
model
java.lang.String model
chassisConfig
java.lang.String chassisConfig
techBase
java.lang.String techBase
techYear
java.lang.String techYear
rulesLevel
java.lang.String rulesLevel
source
java.lang.String source
tonnage
java.lang.String tonnage
engine
java.lang.String engine
internalType
java.lang.String internalType
myomerType
java.lang.String myomerType
gyroType
java.lang.String gyroType
cockpitType
java.lang.String cockpitType
ejectionType
java.lang.String ejectionType
heatSinks
java.lang.String heatSinks
walkMP
java.lang.String walkMP
jumpMP
java.lang.String jumpMP
baseChassieHeatSinks
java.lang.String baseChassieHeatSinks
armorType
java.lang.String armorType
armorValues
java.lang.String[] armorValues
weaponCount
java.lang.String weaponCount
weaponData
java.lang.String[] weaponData
critData
java.lang.String[][] critData
history
java.lang.String history
imagePath
java.lang.String imagePath
hSharedEquip
java.util.Hashtable<EquipmentType,Mounted> hSharedEquip
vSplitWeapons
java.util.Vector<Mounted> vSplitWeapons
locationOrder
public static final int[] locationOrder
rearLocationOrder
public static final int[] rearLocationOrder
EMPTY
public static final java.lang.String EMPTY
- See Also:
- Constant Field Values
ARMORED
public static final java.lang.String ARMORED
- See Also:
- Constant Field Values
MtfFile
public MtfFile(java.io.InputStream is)
throws EntityLoadingException
- Creates new MtfFile
- Throws:
EntityLoadingException
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