megamek.common
Class BombType

java.lang.Object
  extended by megamek.common.EquipmentType
      extended by megamek.common.AmmoType
          extended by megamek.common.BombType

public class BombType
extends AmmoType


Field Summary
static int B_AAA
           
static int B_ALAMO
           
static int B_ARROW
           
static int B_AS
           
static int B_ASEW
           
static int B_CLUSTER
           
static int B_HE
           
static int B_HOMING
           
static int B_INFERNO
           
static int B_LAA
           
static int B_LG
           
static int B_NUM
           
static int B_RL
           
static int B_TAG
           
static int B_THUNDER
           
static int B_TORPEDO
           
static int[] bombCosts
           
static java.lang.String[] bombInternalNames
           
static java.lang.String[] bombNames
           
static java.lang.String[] bombWeaponNames
           
 
Fields inherited from class megamek.common.AmmoType
ammoType, capital, damagePerShot, F_AR10_BARRACUDA, F_AR10_KILLER_WHALE, F_AR10_WHITE_SHARK, F_BATTLEARMOR, F_CAP_MISSILE, F_ENCUMBERING, F_GROUND_BOMB, F_HOTLOAD, F_MG, F_MML_LRM, F_NUCLEAR, F_PROTOMECH, F_SPACE_BOMB, F_TELE_MISSILE, heat, M_ANTI_FLAME_FOAM, M_ANTI_TSM, M_ARMOR_PIERCING, M_ARTEMIS_CAPABLE, M_ARTEMIS_V_CAPABLE, M_AX_HEAD, M_CLUSTER, M_COOLANT, M_CORROSIVE, M_DAVY_CROCKETT_M, M_DEAD_FIRE, M_ECM, M_EXPLOSIVE, M_EXTENDED_RANGE, M_FASCAM, M_FLAK, M_FLARE, M_FLECHETTE, M_FOLLOW_THE_LEADER, M_FRAGMENTATION, M_HAYWIRE, M_HEAT_SEEKING, M_HIGH_EXPLOSIVE, M_HOMING, M_INCENDIARY_AC, M_INCENDIARY_LRM, M_INFERNO, M_INFERNO_IV, M_LISTEN_KILL, M_MULTI_PURPOSE, M_NARC_CAPABLE, M_NARC_EX, M_NEMESIS, M_OIL_SLICK, M_PAINT_OBSCURANT, M_PRECISION, M_SANTA_ANNA, M_SEMIGUIDED, M_SMOKE, M_STANDARD, M_SWARM, M_SWARM_I, M_TANDEM_CHARGE, M_TELE, M_THUNDER, M_THUNDER_ACTIVE, M_THUNDER_AUGMENTED, M_THUNDER_INFERNO, M_THUNDER_VIBRABOMB, M_TORPEDO, M_TRACER, M_VIBRABOMB_IV, M_WATER, munitionType, NUM_TYPES, rackSize, range, shortName, shots, T_AAA_MISSILE, T_AC, T_AC_LBX, T_AC_LBX_THB, T_AC_ROTARY, T_AC_ULTRA, T_AC_ULTRA_THB, T_ACi, T_ALAMO, T_AMS, T_APGAUSS, T_AR10, T_ARROW_IV, T_ARROW_IV_BOMB, T_AS_MISSILE, T_ASEW_MISSILE, T_ATM, T_BA_MICRO_BOMB, T_BARRACUDA, T_BOMB, T_BPOD, T_CHEMICAL_LASER, T_COOLANT_POD, T_CRUISE_MISSILE, T_EXLRM, T_FLUID_GUN, T_GAUSS, T_GAUSS_HEAVY, T_GAUSS_LIGHT, T_HAG, T_HEAVY_FLAMER, T_HEAVY_NGAUSS, T_HSRM, T_HYPER_VELOCITY, T_IGAUSS_HEAVY, T_INARC, T_KILLER_WHALE, T_KRAKEN_T, T_KRAKENM, T_LAA_MISSILE, T_LAC, T_LIGHT_NGAUSS, T_LONG_TOM, T_LONG_TOM_CANNON, T_LRM, T_LRM_STREAK, T_LRM_TORPEDO, T_LRM_TORPEDO_COMBO, T_MAGSHOT, T_MANTA_RAY, T_MED_NGAUSS, T_MEK_MORTAR, T_MG, T_MG_HEAVY, T_MG_LIGHT, T_MINE, T_MML, T_MPOD, T_MRM, T_MRM_STREAK, T_NA, T_NAC, T_NAIL_RIVET_GUN, T_NARC, T_NLRM, T_PAC, T_PIRANHA, T_PLASMA, T_PXLRM, T_RAIL_GUN, T_RL_BOMB, T_ROCKET_LAUNCHER, T_SBGAUSS, T_SCC, T_SCREEN_LAUNCHER, T_SNIPER, T_SNIPER_CANNON, T_SRM, T_SRM_ADVANCED, T_SRM_STREAK, T_SRM_TORPEDO, T_STINGRAY, T_SWORDFISH, T_TASER, T_TBOLT_10, T_TBOLT_15, T_TBOLT_20, T_TBOLT_5, T_THUMPER, T_THUMPER_CANNON, T_VEHICLE_FLAMER, T_WHITE_SHARK, tech
 
Fields inherited from class megamek.common.EquipmentType
allTypes, armorCosts, armorNames, armorPointMultipliers, availRating, bv, BV_VARIABLE, cost, COST_VARIABLE, criticals, CRITICALS_VARIABLE, DATE_NONE, endTurnModes, ERA_CLAN, ERA_SL, ERA_SW, explosive, extinctDate, flags, hittable, instantModeSwitch, internalName, introDate, lookupHash, modes, name, POINT_MULTIPLIER_CLAN_FF, POINT_MULTIPLIER_UNKNOWN, RATING_A, RATING_B, RATING_C, RATING_D, RATING_E, RATING_F, RATING_X, ratingNames, reintroDate, spreadable, structureCosts, structureNames, subType, T_ARMOR_COMMERCIAL, T_ARMOR_FERRO_CARBIDE, T_ARMOR_FERRO_FIBROUS, T_ARMOR_FERRO_FIBROUS_PROTO, T_ARMOR_FERRO_IMP, T_ARMOR_FERRO_LAMELLOR, T_ARMOR_HARDENED, T_ARMOR_HEAVY_FERRO, T_ARMOR_HEAVY_INDUSTRIAL, T_ARMOR_INDUSTRIAL, T_ARMOR_LAMELLOR_FERRO_CARBIDE, T_ARMOR_LIGHT_FERRO, T_ARMOR_PATCHWORK, T_ARMOR_REACTIVE, T_ARMOR_REFLECTIVE, T_ARMOR_STANDARD, T_ARMOR_STEALTH, T_ARMOR_UNKNOWN, T_STRUCTURE_COMPOSITE, T_STRUCTURE_ENDO_COMPOSITE, T_STRUCTURE_ENDO_PROTOTYPE, T_STRUCTURE_ENDO_STEEL, T_STRUCTURE_INDUSTRIAL, T_STRUCTURE_REINFORCED, T_STRUCTURE_STANDARD, T_STRUCTURE_UNKNOWN, techLevel, techRating, toHitModifier, tonnage, TONNAGE_VARIABLE
 
Constructor Summary
BombType()
           
 
Method Summary
static boolean canGroundBomb(int type)
           
static boolean canSpaceBomb(int type)
           
static int getBombCost(int type)
           
static java.lang.String getBombInternalName(int type)
           
static java.lang.String getBombName(int type)
           
 int getBombType()
           
static java.lang.String getBombWeaponName(int type)
           
static void initializeTypes()
           
 
Methods inherited from class megamek.common.AmmoType
canClearMinefield, canClearMinefield2, canDeliverMinefield, equals, getAmmoRatio, getAmmoType, getBABV, getDamagePerShot, getMunitionsFor, getMunitionType, getOneshotAmmo, getProtoBV, getRackSize, getShortName, getShots, isCapital, toString
 
Methods inherited from class megamek.common.EquipmentType
addEndTurnMode, addLookupName, addSubType, addType, equals, get, getAllTypes, getArmorCost, getArmorPointMultiplier, getArmorPointMultiplier, getArmorPointMultiplier, getArmorType, getArmorTypeName, getAvailability, getAvailabilityName, getBV, getCost, getCriticals, getDesc, getExtinctionDate, getFlags, getInternalName, getIntroductionDate, getMode, getModes, getModesCount, getName, getNames, getRatingName, getReintruductionDate, getStructureCost, getStructureType, getStructureTypeName, getTechLevel, getTechRating, getTechRatingName, getToHitModifier, getTonnage, hasFlag, hasInstantModeSwitch, hasModes, hasSubType, isAvailableIn, isExplosive, isHittable, isNextTurnModeSwitch, isSpreadable, resolveVariableCost, setFlags, setInstantModeSwitch, setInternalName, setModes, setSubType, setTonnage, writeEquipmentDatabase, writeEquipmentExtendedDatabase
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

B_HE

public static final int B_HE
See Also:
Constant Field Values

B_CLUSTER

public static final int B_CLUSTER
See Also:
Constant Field Values

B_LG

public static final int B_LG
See Also:
Constant Field Values

B_RL

public static final int B_RL
See Also:
Constant Field Values

B_TAG

public static final int B_TAG
See Also:
Constant Field Values

B_AAA

public static final int B_AAA
See Also:
Constant Field Values

B_AS

public static final int B_AS
See Also:
Constant Field Values

B_ASEW

public static final int B_ASEW
See Also:
Constant Field Values

B_ARROW

public static final int B_ARROW
See Also:
Constant Field Values

B_HOMING

public static final int B_HOMING
See Also:
Constant Field Values

B_INFERNO

public static final int B_INFERNO
See Also:
Constant Field Values

B_LAA

public static final int B_LAA
See Also:
Constant Field Values

B_THUNDER

public static final int B_THUNDER
See Also:
Constant Field Values

B_TORPEDO

public static final int B_TORPEDO
See Also:
Constant Field Values

B_ALAMO

public static final int B_ALAMO
See Also:
Constant Field Values

B_NUM

public static final int B_NUM
See Also:
Constant Field Values

bombNames

public static final java.lang.String[] bombNames

bombInternalNames

public static final java.lang.String[] bombInternalNames

bombWeaponNames

public static final java.lang.String[] bombWeaponNames

bombCosts

public static final int[] bombCosts
Constructor Detail

BombType

public BombType()
Method Detail

getBombName

public static java.lang.String getBombName(int type)

getBombWeaponName

public static java.lang.String getBombWeaponName(int type)

getBombInternalName

public static java.lang.String getBombInternalName(int type)

getBombCost

public static int getBombCost(int type)

canGroundBomb

public static boolean canGroundBomb(int type)

canSpaceBomb

public static boolean canSpaceBomb(int type)

getBombType

public int getBombType()

initializeTypes

public static void initializeTypes()