Package megamek.common.weapons.handlers
Class TeleMissileHandler
java.lang.Object
megamek.common.weapons.handlers.WeaponHandler
megamek.common.weapons.handlers.BayWeaponHandler
megamek.common.weapons.handlers.AmmoBayWeaponHandler
megamek.common.weapons.handlers.capitalMissile.CapitalMissileBayHandler
megamek.common.weapons.handlers.TeleMissileHandler
- All Implemented Interfaces:
Serializable,AttackHandler
- Direct Known Subclasses:
BarracudaTHandler,KillerWhaleTHandler,KrakenHandler,WhiteSharkTHandler
- See Also:
-
Field Summary
Fields inherited from class megamek.common.weapons.handlers.BayWeaponHandler
ammoFields inherited from class megamek.common.weapons.handlers.WeaponHandler
ammoType, amsBayEngaged, amsBayEngagedCap, amsBayEngagedMissile, amsEngaged, announcedEntityFiring, apdsEngaged, attackingEntity, attackValue, bDirect, bGlancing, bLowProfileGlancing, bMissed, bSalvo, calcDmgPerHitReport, CapMissileAMSMod, CapMissileArmor, CapMissileMissed, CounterAV, damageType, firstHit, game, gameManager, generalDamageType, hit, insertedAttacks, isJammed, isStrafing, isStrafingFirstShot, missed, nDamPerHit, nRange, nSalvoBonus, nukeS2S, numRapidFireHits, numWeapons, numWeaponsHit, originalAV, parentBayHandler, pdBayEngaged, pdBayEngagedCap, pdBayEngagedMissile, pdOverheated, roll, secondShot, sSalvoType, subjectId, target, throughFront, toHit, typeName, underWater, weapon, weaponAttackAction, weaponEntity, weaponType -
Constructor Summary
ConstructorsConstructorDescriptionTeleMissileHandler(ToHitData t, WeaponAttackAction w, Game g, TWGameManager m) -
Method Summary
Methods inherited from class megamek.common.weapons.handlers.capitalMissile.CapitalMissileBayHandler
calcAttackValue, calcCapMissileAMSMod, canEngageCapitalMissile, getCapMisMod, getCritMod, handleAeroSanity, initializeCapMissileArmor, insertAttacks, setAMSBayReportingFlag, setPDBayReportingFlag, updateAVForAmmoMethods inherited from class megamek.common.weapons.handlers.BayWeaponHandler
addHeatMethods inherited from class megamek.common.weapons.handlers.WeaponHandler
absorbBuildingDamage, addGlancingBlowReports, allShotsHit, announcedEntityFiring, applyGlancingBlowModifier, applyGlancingBlowModifier, calcAeroDamage, calcCounterAV, calcDamagePerHit, calcHits, calculateNumCluster, calculateNumClusterAero, cares, checkLI, checkPDConditions, checkTerrain, doAmmoFeedProblemCheck, doChecks, getAttacker, getAttackerId, getBracketingMultiplier, getCapMissileAMSMod, getClusterModifiers, getCounterAV, getFireTNRoll, getLargeCraftHeat, getNumberWeapons, getParentBayHandler, getSalvoBonus, getTotalGlancingBlowFactor, getWeaponAttackAction, handleArtilleryDriftMarker, handleBuildingDamage, handleClearDamage, handleClearDamage, handleEntityDamage, handleIgnitionDamage, handlePartialCoverHit, handleSpecialMiss, initHit, isLowProfileGlancingBlow, isStrafing, isStrafingFirstShot, isThunderBolt, reportMiss, reportMiss, restore, setAnnouncedEntityFiring, setDone, setGlancingBlowFlags, setParentBayHandler, setStrafing, setStrafingFirstShot, specialResolution, unitGainsPartialCoverFromWater, unitStickingOutOfBuilding, usesClusterTableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface megamek.common.weapons.handlers.AttackHandler
getBuildingDamageAdjustment, producesReportThisPhase
-
Constructor Details
-
TeleMissileHandler
public TeleMissileHandler(ToHitData t, WeaponAttackAction w, Game g, TWGameManager m) throws EntityLoadingException - Throws:
EntityLoadingException
-
-
Method Details
-
useAmmo
protected void useAmmo()- Overrides:
useAmmoin classWeaponHandler
-
handle
handle this weapons firing- Specified by:
handlein interfaceAttackHandler- Overrides:
handlein classCapitalMissileBayHandler- Parameters:
phase- The present game phasevPhaseReport- The reports list to add new reports to- Returns:
- a
booleanvalue indicating whether this should be kept or not
-