megamek.common.verifier
Class TestTank
java.lang.Object
megamek.common.verifier.TestEntity
megamek.common.verifier.TestTank
- All Implemented Interfaces:
- TestEntityOption
public class TestTank
- extends TestEntity
| Methods inherited from class megamek.common.verifier.TestEntity |
calcMiscCrits, calculateWeight, ceil, ceilMaxHalf, correctWeight, correctWeight, getArmoredComponentWeight, getLocationAbbr, getMaxOverweight, getMinUnderweight, getPrintSize, getTargCompCrits, getTotalOArmor, getWeight, getWeightAmmo, getWeightArmor, getWeightCarryingSpace, getWeightCeilingArmor, getWeightCeilingControls, getWeightCeilingEngine, getWeightCeilingGyro, getWeightCeilingPowerAmp, getWeightCeilingStructure, getWeightCeilingTargComp, getWeightCeilingTurret, getWeightCeilingWeapons, getWeightEngine, getWeightMiscEquip, getWeightStructure, getWeightWeapon, hasFailedEquipment, hasIllegalEquipmentCombinations, hasIllegalTechLevels, hasIllegalTechLevels, ignoreFailedEquip, isClan, isClanArmor, makeWeightString, printAmmo, printAmmo, printAmmo, printArmorLocation, printArmorPlacement, printFailedEquipment, printLocations, printMiscEquip, printMiscEquip, printMiscEquip, printShortMovement, printTechLevel, printWeapon, printWeapon, printWeapon, printWeightArmor, printWeightCalculation, printWeightCarryingSpace, printWeightEngine, printWeightHeatSinks, printWeightStructure, showCorrectArmor, showCorrectCritical, showFailedEquip, showOverweightedEntity, showUnderweightedEntity, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestTank
public TestTank(Tank tank,
TestEntityOption options,
java.lang.String fileString)
getEntity
public Entity getEntity()
- Specified by:
getEntity in class TestEntity
isTank
public boolean isTank()
- Specified by:
isTank in class TestEntity
isMech
public boolean isMech()
- Specified by:
isMech in class TestEntity
getTankWeightTurret
public float getTankWeightTurret()
getTankWeightLifting
public float getTankWeightLifting()
getTankPowerAmplifier
public float getTankPowerAmplifier()
getWeightMisc
public float getWeightMisc()
- Specified by:
getWeightMisc in class TestEntity
getWeightControls
public float getWeightControls()
- Specified by:
getWeightControls in class TestEntity
hasDoubleHeatSinks
public boolean hasDoubleHeatSinks()
- Specified by:
hasDoubleHeatSinks in class TestEntity
getCountHeatSinks
public int getCountHeatSinks()
- Specified by:
getCountHeatSinks in class TestEntity
getWeightHeatSinks
public int getWeightHeatSinks()
- Specified by:
getWeightHeatSinks in class TestEntity
printWeightMisc
public java.lang.String printWeightMisc()
- Specified by:
printWeightMisc in class TestEntity
printWeightControls
public java.lang.String printWeightControls()
- Specified by:
printWeightControls in class TestEntity
getTank
public Tank getTank()
correctEntity
public boolean correctEntity(java.lang.StringBuffer buff)
- Specified by:
correctEntity in class TestEntity
correctEntity
public boolean correctEntity(java.lang.StringBuffer buff,
boolean ignoreAmmo)
- Specified by:
correctEntity in class TestEntity
printEntity
public java.lang.StringBuffer printEntity()
- Specified by:
printEntity in class TestEntity
getName
public java.lang.String getName()
- Specified by:
getName in class TestEntity
getWeightPowerAmp
public float getWeightPowerAmp()
- Specified by:
getWeightPowerAmp in class TestEntity