megamek.common
Class ArmlessMech

java.lang.Object
  extended by megamek.common.TurnOrdered
      extended by megamek.common.Entity
          extended by megamek.common.Mech
              extended by megamek.common.BipedMech
                  extended by megamek.common.ArmlessMech
All Implemented Interfaces:
java.io.Serializable, RoundUpdated, Targetable, Transporter

public class ArmlessMech
extends BipedMech

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class megamek.common.Entity
Entity.EntityFluff
 
Field Summary
 
Fields inherited from class megamek.common.Mech
ACTUATOR_FOOT, ACTUATOR_HAND, ACTUATOR_HIP, ACTUATOR_LOWER_ARM, ACTUATOR_LOWER_LEG, ACTUATOR_SHOULDER, ACTUATOR_UPPER_ARM, ACTUATOR_UPPER_LEG, COCKPIT_AIMED_SHOT, COCKPIT_COMMAND_CONSOLE, COCKPIT_DUAL, COCKPIT_INDUSTRIAL, COCKPIT_OFF, COCKPIT_ON, COCKPIT_PRIMITIVE, COCKPIT_PRIMITIVE_INDUSTRIAL, COCKPIT_SHORT_STRING, COCKPIT_SMALL, COCKPIT_STANDARD, COCKPIT_STRING, COCKPIT_TORSO_MOUNTED, COCKPIT_UNKNOWN, FULL_HEAD_EJECT_STRING, GYRO_COMPACT, GYRO_HEAVY_DUTY, GYRO_SHORT_STRING, GYRO_STANDARD, GYRO_STRING, GYRO_UNKNOWN, GYRO_XL, HAS_FALSE, HAS_TRUE, HAS_UNKNOWN, JUMP_BOOSTER, JUMP_DISPOSABLE, JUMP_IMPROVED, JUMP_NONE, JUMP_STANDARD, JUMP_UNKNOWN, LOC_CT, LOC_HEAD, LOC_LARM, LOC_LLEG, LOC_LT, LOC_RARM, LOC_RLEG, LOC_RT, NUM_MECH_LOCATIONS, SYSTEM_COCKPIT, SYSTEM_ENGINE, SYSTEM_GYRO, SYSTEM_LIFE_SUPPORT, SYSTEM_SENSORS, systemNames
 
Fields inherited from class megamek.common.Entity
_isEMId, altitude, ammoList, armorTechLevel, armorType, armsFlipped, aTracker, battleForceDebugString, BATTLEFORCEEXTREMERANGE, BATTLEFORCELONGRANGE, BATTLEFORCEMEDIUMRANGE, battleForceMinRangeModifier, BATTLEFORCESHORTRANGE, battleForceToHitModifier, bombList, bvText, c3CompanyMasterIndex, c3Master, c3NetIdString, canUnstickByJumping, carcass, chassis, crew, crits, damageThisPhase, damageThisRound, DEBUGBATTLEFORCE, delta_distance, designValid, destroyed, displacementAttack, displayName, dodging, done, doomed, duplicateMarker, elevation, endColumn, endRow, endTable, engine, engineHitsThisRound, equipmentList, externalId, facing, failedEquipmentList, findingClub, fluff, game, gotPavementBonus, GRAPPLE_BOTH, GRAPPLE_LEFT, GRAPPLE_RIGHT, hasSpotlight, heat, heatBuildup, heatFromExternal, heatSinkCoolantFailureFactor, hitThisRoundByAntiTSM, hullDown, id, illuminated, iNarcPods, infernos, inReverse, isCarefulStanding, isHidden, jumpMP, killerId, lastTarget, layingMines, LOC_DESTROYED, LOC_NONE, m_lNarcedBy, m_lPendingNarc, MAX_C3_NODES, miscList, mixedTech, model, moved, movementMode, mpUsed, mpUsedLastRound, narcPods, nl, NONE, omni, owner, ownerId, pendingINarcPods, pendingNarcPods, position, prone, reckless, rolledForEngineExplosion, sec_facing, secondaryPositions, shortName, shutDown, shutdownByBATaser, shutDownThisPhase, source, spotlightIsActive, spotting, startColumn, startRow, startTable, structureType, stuckInSwamp, taggedBy, taserFeedBackRounds, taserInterference, taserInterferenceRounds, taserShutdownRounds, techLevel, tmTracker, totalWeaponList, unjammingRAC, usedSearchlight, vectors, walkMP, weaponBayList, weaponGroupList, weaponList, weight, year
 
Fields inherited from interface megamek.common.Targetable
TYPE_BLDG_IGNITE, TYPE_BUILDING, TYPE_ENTITY, TYPE_FLARE_DELIVER, TYPE_FUEL_TANK, TYPE_FUEL_TANK_IGNITE, TYPE_HEX_AERO_BOMB, TYPE_HEX_ARTILLERY, TYPE_HEX_BOMB, TYPE_HEX_CLEAR, TYPE_HEX_EXTINGUISH, TYPE_HEX_IGNITE, TYPE_HEX_SCREEN, TYPE_INARC_POD, TYPE_MINEFIELD_CLEAR, TYPE_MINEFIELD_DELIVER, TYPE_SEARCHLIGHT
 
Constructor Summary
ArmlessMech()
           
ArmlessMech(int inGyroType, int inCockpitType)
           
ArmlessMech(java.lang.String inGyroType, java.lang.String inCockpitType)
           
 
Method Summary
 boolean canFlipArms()
          Returns true if the entity can flip its arms
 PilotingRollData checkGetUp(MoveStep step, int overallMoveType)
          Checks if the entity is getting up.
protected  double getArmActuatorCost()
           
 HitData getTransferLocation(HitData hit)
          Gets the location that excess damage transfers to
 void setInternal(int head, int ct, int t, int arm, int leg)
          Sets the internal structure for the mech.
 
Methods inherited from class megamek.common.BipedMech
addEntityBonuses, addStandingPenalties, canGoHullDown, cannotStandUpFromHullDown, checkGetUp, getActiveVibrobladeHeat, getLegActuatorCost, getLocationAbbrs, getLocationNames, getNoOfSlots, getNumberOfShields, getRunMP, getRunMPwithoutMASC, getWalkMP, hasActiveShield, hasActiveShield, hasClaw, hasFunctionalArmAES, hasFunctionalLegAES, hasNoDefenseShield, hasPassiveShield, hasPassiveShield, hasRetractedBlade, hasShield, hasVibroblades, hasVibrobladesInLocation
 
Methods inherited from class megamek.common.Mech
addClanCase, addCockpit, addCommandConsole, addCompactGyro, addCoolantFailureAmount, addDualCockpit, addEngineCrits, addEngineSinks, addEngineSinks, addEngineSinks, addEngineSinks, addEquipment, addGyro, addHeavyDutyGyro, addIndustrialCockpit, addIndustrialPrimitiveCockpit, addPrimitiveCockpit, addSmallCockpit, addTorsoMountedCockpit, addXLGyro, autoSetInternal, calculateBattleValue, calculateBattleValue, calculateWalk, canAssaultDrop, canChangeSecondaryFacing, canCharge, canDFA, checkForMASCFailure, checkUnstall, clearCockpitCrits, clearEngineCrits, clearGyroCrits, clipSecondaryFacing, countBadLegs, countLegActuatorCrits, damageCowl, destroyLocation, doCheckEngineStallRoll, doomedInAtmosphere, doomedInSpace, doomedInVacuum, doomedOnGround, getActiveSinks, getActiveSinksNextRound, getActuatorCost, getArmor, getArmoredComponentBV, getBARRating, getBattleForceArmorPoints, getBattleForceJumpPoints, getBattleForceMovementPoints, getBattleForcePoints, getBattleForceSize, getBattleForceSpecialAbilites, getBattleForceStandardWeaponsDamage, getBattleForceStructurePoints, getCockpitDisplayString, getCockpitStatus, getCockpitStatusNextRound, getCockpitType, getCockpitTypeForString, getCockpitTypeString, getCockpitTypeString, getCoolantFailureAmount, getCost, getCost, getCowlArmor, getDependentLocation, getElevation, getEngineCritHeat, getGrappled, getGrappleSide, getGyroDisplayString, getGyroMultiplier, getGyroType, getGyroTypeForString, getGyroTypeShortString, getGyroTypeString, getGyroTypeString, getHeatCapacity, getHeatCapacity, getHeatCapacityWithWater, getHQIniBonus, getInnerLocation, getJumpHeat, getJumpMP, getJumpMP, getJumpMPWithTerrain, getJumpType, getLevelsFallen, getMASC, getMASCTarget, getMASCTurns, getMaxElevationChange, getMaxElevationDown, getMovementAbbr, getMovementString, getMtf, getNumberOfSinks, getOArmor, getOriginalRunMPwithoutMASC, getOriginalSprintMPwithoutMASC, getPartialWingJumpBonus, getRunHeat, getRunMPasString, getRunningGravityLimit, getSprintHeat, getSprintMP, getSprintMP, getSprintMPasString, getSprintMPwithoutMASC, getSprintMPwithoutMASC, getStandingHeat, getStealthModifier, getSuperCharger, getSystemName, getTotalCommGearTons, getWalkHeat, getWeaponArc, hasActiveEiCockpit, hasArmedMASC, hasArmedMASCAndSuperCharger, hasArmoredCockpit, hasArmoredEngine, hasArmoredGyro, hasCASEII, hasChameleonShield, hasCompositeStructure, hasCowl, hasDoubleHeatSinks, hasEiCockpit, hasExtendedRetractableBlade, hasFullHeadEject, hasHarJelIn, hasHipCrit, hasIndustrialTSM, hasJumpBoosters, hasLaserHeatSinks, hasMASC, hasMASCAndSuperCharger, hasModularArmor, hasModularArmor, hasNullSig, hasRearArmor, hasReinforcedStructure, hasTracks, hasTSM, hasVoidSig, heatSinks, height, initializeRearArmor, isArm, isAutoEject, isCarefulStand, isChameleonShieldActive, isCheckForCrit, isEligibleForMovement, isGrappleAttacker, isHexProhibited, isIndustrial, isJustMovedIntoIndustrialKillingWater, isMASCUsed, isNuclearHardened, isNullSigActive, isPrimitive, isRepairable, isSecondaryArcWeapon, isShutDown, isStalled, isStealthActive, isStealthOn, isSystemIntact, isValidSecondaryFacing, isVoidSigActive, leastRestrictiveLoc, legHasHipCrit, locationIsLeg, locationIsTorso, locations, mostRestrictiveLoc, newRound, removePartialCoverHits, resetSinks, restrictScore, rollHitLocation, rollHitLocation, setActiveSinksNextRound, setArmor, setAutoEject, setCheckForCrit, setCockpitStatus, setCockpitType, setEngine, setFullHeadEject, setGameOptions, setGrappled, setGrappleSide, setGyroType, setJustMovedIntoIndustrialKillingWater, setLevelsFallen, setMASCTurns, setMASCUsed, setOmni, setStalled, shieldAbsorptionDamage, shouldDieAtEndOfTurnBecauseOfWater, tac, torsoJumpJets, victoryReport
 
Methods inherited from class megamek.common.Entity
absHeight, addBomb, addBomb, addConditionBonuses, addCritical, addCritical, addEquipment, addEquipment, addEquipment, addEquipment, addEquipment, addEquipment, addEquipment, addFailedEquipment, addKill, addPassedThrough, addPilotingModifierForTerrain, addPilotingModifierForTerrain, addPilotingModifierForTerrain, addTargetedBySwarm, addTransporter, addWeaponGroup, applyDamage, applyGravityEffectsOnMP, applySantaAnna, armorStringFor, assignAMS, attachINarcPod, attachNarcPod, baTaserShutdown, C3MasterIs, calcElevation, calcElevation, calculateFreeC3MNodes, calculateFreeC3Nodes, canAssist, canFlee, canGoDown, canGoDown, canGoUp, canLayMine, canLoad, canLoad, canRam, canSpot, canTransferCriticals, canUnjamRAC, canUnstickByJumping, checkBogDown, checkDislodgeSwarmers, checkLandingInHeavyWoods, checkLandingOnIce, checkLandingWithDamage, checkMovedTooFast, checkMovementInBuilding, checkRecklessMove, checkRubbleMove, checkRunningWithDamage, checkSideSlip, checkSkid, checkSprintingWithMASC, checkSprintingWithSupercharger, checkWaterMove, checkWaterMove, chooseSide, clearQuirks, climbMode, countQuirks, countQuirks, countWorkingMisc, damageBayDoor, damageDockCollar, damageDoorRecovery, decodeTransporters, deployOffBoard, destroy, destroyRetractableBlade, elevationOccupied, encodeTransporters, entityIsBiped, entityIsQuad, equals, extendBlade, findTargetedDisplacement, fixElevation, generateDisplayName, generateShortName, getActiveSensor, getActiveUMUCount, getAllUMUCount, getAltitude, getAmmo, getArmor, getArmor, getArmorRemainingPercent, getArmorString, getArmorString, getArmorTechLevel, getArmorType, getArmorWeight, getArmsFlipped, getBadCriticals, getBAPRange, getBasePilotingRoll, getBasePilotingRoll, getBattleForceDamageThresholdString, getBattleForceMovement, getBattleForceOverHeatValue, getBattleForceStandardWeaponsDamage, getBattleForceStandardWeaponsDamage, getBattleForceStandardWeaponsDamage, getBattleForceTotalHeatGeneration, getBayByAmmo, getBayLoadedUnits, getBlueShieldRounds, getBombLoadout, getBombs, getBombs, getBVText, getC3Master, getC3MasterId, getC3NetId, getC3Top, getCargoMpReduction, getChassis, getClubs, getCrew, getCritical, getDamageReductionFromModularArmor, getDeployRound, getDisplacementAttack, getDisplayName, getDocks, getDroppableUnits, getECCMStrength, getECMRange, getECMStrength, getEmptyCriticals, getEngine, getEquipment, getEquipment, getEquipmentNum, getEquipmentType, getEvasionBonus, getExteriorUnitAt, getExternalId, getExternalUnits, getExtraCommGearTons, getExtremeRangeModifier, getFacing, getFailedEquipment, getFighterBays, getFighterLaunchRate, getFirstBay, getFirstWeapon, getFluff, getForwardArc, getGame, getGaveKillCredit, getGhostTargetOverride, getGhostTargetRoll, getGhostTargetRollMoS, getGoodCriticals, getGoodCriticals, getHeading, getHeatFiringModifier, getHeatInArc, getHeatMPReduction, getHeight, getHitCriticals, getHittableCriticals, getId, getINarcPodsAttached, getInternal, getInternal, getInternalRemainingPercent, getInternalString, getKillNumber, getKills, getLastTarget, getLaunchableFighters, getLaunchableSmallCraft, getLoadedBay, getLoadedFighters, getLoadedSmallCraft, getLoadedUnits, getLocationAbbr, getLocationAbbr, getLocationFromAbbr, getLocationName, getLocationName, getLocationStatus, getLongRangeModifier, getMDIniBonus, getMediumRangeModifier, getMisc, getModel, getMovementBeforeSkidPSRModifier, getMovementMode, getMovementModeAsBattleForceString, getMovementModeAsString, getNextSensor, getNextWeapon, getNumberOf, getNumberOfCriticals, getNumberOfCriticals, getNumberOfCriticals, getNumberOfCriticals, getOArmor, getOArmor, getOffBoardDirection, getOffBoardDistance, getOInternal, getOInternal, getOriginalJumpMP, getOriginalRunMP, getOriginalSprintMP, getOriginalWalkMP, getOwner, getOwnerId, getPassedThrough, getPickedUpMechWarriors, getPosition, getPriorPosition, getQuirkIniBonus, getQuirkList, getQuirks, getRearArc, getRecoveryTurn, getRemovalCondition, getRetreatedDirection, getRunMP, getRunMPwithoutMASC, getSecondaryFacing, getSecondaryPositions, getSensorCheck, getSensorDesc, getSensors, getShortName, getShortNameRaw, getShortRangeModifier, getSmallCraftBays, getSmallCraftLaunchRate, getSource, getSpotTargetId, getStartingPos, getStructureType, getSwarmAttackerId, getSwarmTargetId, getTaggedBy, getTargetedBySwarm, getTargetId, getTargetType, getTaserFeedBackRounds, getTaserInterference, getTaserInterferenceRounds, getTaserShutdownRounds, getTechLevel, getTMTracker, getTotalAmmoOfType, getTotalArmor, getTotalInternal, getTotalMunitionsOfType, getTotalOArmor, getTotalOInternal, getTotalWeaponList, getTransferLocation, getTransportBays, getTransportId, getTransports, getTroopCarryingSpace, getTrooperAtLocation, getUnitNumber, getUnusedString, getVector, getVectors, getVelocity, getVibroClaws, getWalkMP, getWeaponBayList, getWeaponGroupList, getWeaponList, getWeapons, getWeaponsAndEquipmentCost, getWeaponsAndEquipmentCost, getWeight, getWeightClass, getWeightClassName, getYear, hasActiveAngelECCM, hasActiveAngelECM, hasActiveBlueShield, hasActiveECCM, hasActiveECM, hasActiveECM, hasAimModeTargComp, hasArcFired, hasArmoredChassis, hasBAP, hasBAP, hasBARArmor, hasBattleArmorHandles, hasC3, hasC3i, hasC3M, hasC3MM, hasC3S, hasCASEII, hasDisplacementAttack, hasEnvironmentalSealing, hasGhostTargets, hasINarcPodsAttached, hasInfernoAmmo, hasLegActuatorCrit, hasLinkedMGA, hasSpotlight, hasStealth, hasSystem, hasTAG, hasTargComp, hasUMU, hasWorkingMisc, hasWorkingMisc, hasWorkingMisc, hasWorkingMisc, hasWorkingSystem, hasWorkingWeapon, hasWorkingWeapon, hasWorkingWeapon, hasWorkingWeapon, hitAllCriticals, illuminateTarget, initializeArmor, initializeInternal, isActive, isActive, isAirborne, isAirborneVTOL, isAssaultDropInProgress, isAttackingThisTurn, isBATaserShutdown, isBoardProhibited, isCanon, isCapitalFighter, isCapitalScale, isCaptured, isCarcass, isCharging, isClan, isClanArmor, isClearingMinefield, isCommander, isDeployed, isDesignValid, isDestroyed, isDone, isDoomed, isDropping, isElevationValid, isEligibleFor, isEligibleForFiring, isEligibleForOffboard, isEligibleForPhysical, isEligibleForTargetingPhase, isEnemyOf, isEvading, isFighter, isFindingClub, isHidden, isHullDown, isIlluminated, isImmobile, isINarcedBy, isINarcedWith, isLargeCraft, isLayingMines, isLoadableThisTurn, isLocationBad, isLocationDoomed, isMakingDfa, isMilitary, isMixedTech, isNarcedBy, isNOE, isOffBoard, isOmni, isOnSameSheet, isPartOfFighterSquadron, isProne, isPushing, isRamming, isReckless, isSalvage, isSeenByEnemy, isSelectableThisTurn, isShutDownThisPhase, isSpotting, isStuck, isSufferingEMI, isSurfaceNaval, isSystemRepairable, isTargetable, isTargetOfDisplacementAttack, isUnjammingRAC, isUnloadedThisTurn, isUsingManAce, isUsingSpotlight, isVisibleToEnemy, isWeaponBlockedAt, itemOppositeTech, load, load, loadAllWeapons, loadedUnitsHaveActiveECM, loadWeapon, loadWeapon, loadWeaponWithSameAmmo, loadWeaponWithSameAmmo, locationHasCase, needsRollToStand, onSameC3NetworkAs, onSameC3NetworkAs, passedThrough, passedThroughPrevious, passedWithin, pickUp, printDebugToFile, recover, refreshLocations, reloadEmptyWeapons, removeAllINarcPods, removeAllTransporters, removeCriticals, removeINarcPod, removeMisc, resetBayDoors, resetFiringArcs, restore, rollMovementInBuilding, setAltitude, setArcFired, setArmor, setArmor, setArmorTechLevel, setArmorType, setArmorType, setArmsFlipped, setAssaultDropInProgress, setBATaserShutdown, setC3Master, setC3Master, setC3NetId, setCanon, setCanUnstickByJumping, setCaptured, setCarcass, setCarefulStand, setChassis, setClearingMinefield, setClimbMode, setCommander, setCrew, setCritical, setDeployed, setDeployRound, setDesignValid, setDestroyed, setDisplacementAttack, setDone, setDoomed, setElevation, setEMI, setEvading, setExternalId, setFacing, setFindingClub, setGame, setHidden, setHullDown, setId, setIlluminated, setInternal, setInternal, setLandedAssaultDrop, setLastTarget, setLayingMines, setLocationStatus, setMixedTech, setModel, setMovementMode, setNextSensor, setOffBoard, setOriginalJumpMP, setOriginalWalkMP, setOwner, setPassedThrough, setPosition, setProne, setQuirks, setRamming, setRapidFire, setReckless, setRecoveryTurn, setRemovalCondition, setRetreatedDirection, setSalvage, setSecondaryFacing, setSeenByEnemy, setShutDown, setShutDownThisPhase, setSource, setSpotlight, setSpotlightState, setSpotTargetId, setSpotting, setStartingPos, setStructureType, setStructureType, setStuck, setSwarmAttackerId, setSwarmTargetId, setTaggedBy, setTaserFeedback, setTaserInterference, setTaserShutdownRounds, setTechLevel, setTransportId, setUnitNumber, setUnjammingRAC, setUnloaded, setUsedSearchlight, setVectors, setVisibleToEnemy, setWeaponHit, setWeight, setYear, shouldDeploy, sideTable, sideTable, sideTable, statusToString, statusToString, statusToString, toString, unload, updateBays, usedSearchlight, usedTag, usesWeaponBays, weaponFiredFrom, whichBay
 
Methods inherited from class megamek.common.TurnOrdered
clearInitiative, generateTurnOrder, getAeroTurns, getDropshipTurns, getEvenTurns, getInitiative, getJumpshipTurns, getMultiTurns, getNormalTurns, getOtherTurns, getSmallCraftTurns, getSpaceStationTurns, getWarshipTurns, incrementAeroTurns, incrementDropshipTurns, incrementEvenTurns, incrementJumpshipTurns, incrementMultiTurns, incrementOtherTurns, incrementSmallCraftTurns, incrementSpaceStationTurns, incrementWarshipTurns, resetAeroTurns, resetDropshipTurns, resetEvenTurns, resetJumpshipTurns, resetMultiTurns, resetOtherTurns, resetSmallCraftTurns, resetSpaceStationTurns, resetWarshipTurns, rollInitAndResolveTies, rollInitiative
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArmlessMech

public ArmlessMech(java.lang.String inGyroType,
                   java.lang.String inCockpitType)

ArmlessMech

public ArmlessMech()

ArmlessMech

public ArmlessMech(int inGyroType,
                   int inCockpitType)
Method Detail

canFlipArms

public boolean canFlipArms()
Returns true if the entity can flip its arms

Overrides:
canFlipArms in class BipedMech

setInternal

public void setInternal(int head,
                        int ct,
                        int t,
                        int arm,
                        int leg)
Sets the internal structure for the mech.

Overrides:
setInternal in class BipedMech
Parameters:
head - head
ct - center torso
t - right/left torso
arm - right/left arm
leg - right/left leg

getArmActuatorCost

protected double getArmActuatorCost()
Overrides:
getArmActuatorCost in class BipedMech

checkGetUp

public PilotingRollData checkGetUp(MoveStep step,
                                   int overallMoveType)
Checks if the entity is getting up. If so, returns the target roll for the piloting skill check.


getTransferLocation

public HitData getTransferLocation(HitData hit)
Gets the location that excess damage transfers to

Overrides:
getTransferLocation in class Mech