|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmegamek.common.weapons.WeaponHandler
megamek.common.weapons.AmmoWeaponHandler
megamek.common.weapons.ArtilleryCannonWeaponHandler
public class ArtilleryCannonWeaponHandler
| Field Summary | |
|---|---|
(package private) boolean |
handledAmmoAndReport
|
| Fields inherited from class megamek.common.weapons.AmmoWeaponHandler |
|---|
ammo |
| Fields inherited from class megamek.common.weapons.WeaponHandler |
|---|
ae, announcedEntityFiring, attackValue, bDirect, bGlancing, bMissed, bSalvo, damageType, game, generalDamageType, insertedAttacks, missed, nDamPerHit, nRange, nukeS2S, nweapons, roll, server, subjectId, target, throughFront, toHit, underWater, waa, weapon, wtype |
| Constructor Summary | |
|---|---|
protected |
ArtilleryCannonWeaponHandler()
This consructor may only be used for deserialization. |
|
ArtilleryCannonWeaponHandler(ToHitData t,
WeaponAttackAction w,
IGame g,
Server s)
|
| Method Summary | |
|---|---|
protected int |
calcDamagePerHit()
Calculate the damage per hit. |
boolean |
handle(IGame.Phase phase,
java.util.Vector<Report> vPhaseReport)
handle this weapons firing |
| Methods inherited from class megamek.common.weapons.AmmoWeaponHandler |
|---|
checkAmmo, getNumberWeapons, useAmmo |
| Methods inherited from class megamek.common.weapons.WeaponHandler |
|---|
addHeat, allShotsHit, announcedEntityFiring, calcAttackValue, calcHits, calcnCluster, canDoDirectBlowDamage, cares, checkTerrain, doChecks, getAttackerId, getBracketingMultiplier, getCapMisMod, getWaa, handleBuildingDamage, handleClearDamage, handleEntityDamage, handleIgnitionDamage, handleSpecialMiss, insertAttacks, reportMiss, setAnnouncedEntityFiring, setDone, specialResolution, usesClusterTable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
boolean handledAmmoAndReport
| Constructor Detail |
|---|
protected ArtilleryCannonWeaponHandler()
public ArtilleryCannonWeaponHandler(ToHitData t,
WeaponAttackAction w,
IGame g,
Server s)
t - w - g - | Method Detail |
|---|
public boolean handle(IGame.Phase phase,
java.util.Vector<Report> vPhaseReport)
WeaponHandler
handle in interface AttackHandlerhandle in class WeaponHandlerboolean value indicating whether this should be
kept or notprotected int calcDamagePerHit()
WeaponHandler
calcDamagePerHit in class WeaponHandlerint representing the damage dealt per hit.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||