Package megamek.common.equipment.enums
Class BombType
java.lang.Object
megamek.common.equipment.EquipmentType
megamek.common.equipment.AmmoType
megamek.common.equipment.enums.BombType
- All Implemented Interfaces:
ITechnology
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class megamek.common.equipment.AmmoType
AmmoType.AmmoCategory, AmmoType.AmmoTypeEnum, AmmoType.Munitions -
Field Summary
Fields inherited from class megamek.common.equipment.AmmoType
ALLOWED_BY_TYPE, ammoType, base, capital, damagePerShot, F_AR10_BARRACUDA, F_AR10_KILLER_WHALE, F_AR10_WHITE_SHARK, F_BATTLEARMOR, F_CAP_MISSILE, F_CRUISE_MISSILE, F_ENCUMBERING, F_GROUND_BOMB, F_HOTLOAD, F_INTERNAL_BOMB, F_MG, F_MML_LRM, F_MML_SRM, F_NUCLEAR, F_OTHER_BOMB, F_PEACEMAKER, F_PROTOMEK, F_SANTA_ANNA, F_SCREEN, F_SPACE_BOMB, F_TELE_MISSILE, FLARE_MUNITIONS, heat, INCENDIARY_MOD, INCENDIARY_MOD_SHORTNAME, MINE_MUNITIONS, munitionType, rackSize, range, shots, SMOKE_MUNITIONS, techFields inherited from class megamek.common.equipment.EquipmentType
allTypes, bv, BV_VARIABLE, cost, COST_VARIABLE, CRITICAL_SLOTS_VARIABLE, criticalSlots, endTurnModes, explosive, flags, hittable, instantModeSwitch, internalName, lookupHash, modes, name, namesVector, omniFixedOnly, rulesRefs, shortName, sortingName, spreadable, structureAbbreviations, structureCosts, structureNames, svSlots, T_ARMOR_AEROSPACE, T_ARMOR_ALUM, T_ARMOR_ANTI_PENETRATIVE_ABLATION, T_ARMOR_BA_FIRE_RESIST, T_ARMOR_BA_MIMETIC, T_ARMOR_BA_REACTIVE, T_ARMOR_BA_REFLECTIVE, T_ARMOR_BA_STANDARD, T_ARMOR_BA_STANDARD_ADVANCED, T_ARMOR_BA_STANDARD_PROTOTYPE, T_ARMOR_BA_STEALTH, T_ARMOR_BA_STEALTH_BASIC, T_ARMOR_BA_STEALTH_IMP, T_ARMOR_BA_STEALTH_PROTOTYPE, T_ARMOR_BALLISTIC_REINFORCED, T_ARMOR_COMMERCIAL, T_ARMOR_EDP, T_ARMOR_FERRO_ALUM_PROTO, T_ARMOR_FERRO_FIBROUS, T_ARMOR_FERRO_FIBROUS_PROTO, T_ARMOR_FERRO_LAMELLOR, T_ARMOR_HARDENED, T_ARMOR_HEAT_DISSIPATING, T_ARMOR_HEAVY_ALUM, T_ARMOR_HEAVY_FERRO, T_ARMOR_HEAVY_INDUSTRIAL, T_ARMOR_IMPACT_RESISTANT, T_ARMOR_INDUSTRIAL, T_ARMOR_LC_FERRO_CARBIDE, T_ARMOR_LC_FERRO_IMP, T_ARMOR_LC_LAMELLOR_FERRO_CARBIDE, T_ARMOR_LIGHT_ALUM, T_ARMOR_LIGHT_FERRO, T_ARMOR_PATCHWORK, T_ARMOR_PRIMITIVE, T_ARMOR_PRIMITIVE_AERO, T_ARMOR_PRIMITIVE_FIGHTER, T_ARMOR_REACTIVE, T_ARMOR_REFLECTIVE, T_ARMOR_STANDARD, T_ARMOR_STANDARD_PROTOMEK, T_ARMOR_STEALTH, T_ARMOR_STEALTH_VEHICLE, T_ARMOR_SV_BAR_10, T_ARMOR_SV_BAR_2, T_ARMOR_SV_BAR_3, T_ARMOR_SV_BAR_4, T_ARMOR_SV_BAR_5, T_ARMOR_SV_BAR_6, T_ARMOR_SV_BAR_7, T_ARMOR_SV_BAR_8, T_ARMOR_SV_BAR_9, 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, TA_NONE, TA_STANDARD_STRUCTURE, tankSlots, techAdvancement, toHitModifier, tonnage, TONNAGE_VARIABLE, VARIABLE, YAML_VERSIONFields inherited from interface megamek.common.interfaces.ITechnology
DATE_ES, DATE_NONE, DATE_PS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BombTypestatic intgetBombCost(int type) Deprecated, for removal: This API element is subject to removal in a future version.static StringgetBombInternalName(int type) Deprecated, for removal: This API element is subject to removal in a future version.static StringgetBombName(int type) Deprecated, for removal: This API element is subject to removal in a future version.static BombType.BombTypeEnumgetBombTypeForWeapon(EquipmentType weapon) Deprecated, for removal: This API element is subject to removal in a future version.static BombType.BombTypeEnumDeprecated, for removal: This API element is subject to removal in a future version.static BombType.BombTypeEnumgetBombTypeFromName(String name) Deprecated, for removal: This API element is subject to removal in a future version.static StringgetBombWeaponName(int type) Deprecated, for removal: This API element is subject to removal in a future version.static voidbooleanMethods inherited from class megamek.common.equipment.AmmoType
addFlags, canAeroUse, canAeroUse, canBeInterceptedBy, canClearMinefield, canDeliverMinefield, canSwitchToAmmo, countsAsFlak, equalsAmmoTypeOnly, getAmmoRatio, getAmmoType, getBaseAmmo, getBaseName, getDamagePerShot, getFireTN, getKgPerShot, getKgPerShotBV, getMunitionsFor, getMunitionType, getMutatorName, getOneshotAmmo, getRackSize, getShots, getSubMunitionName, getToHitModifier, getYamlData, getYamlTypeName, hasCustomKgPerShot, hasFlag, is, isAmmoValid, isAmmoValid, isCapital, isCompatibleWith, isEligibleForBeingArmored, notAllowedByClanRules, toStringMethods inherited from class megamek.common.equipment.EquipmentType
addEndTurnMode, addLookupName, addLookupName, addMode, addType, allTypes, canBeMountedOnBaDwp, clearLookupNames, clearModes, equals, get, get, getAllStructureCodeName, getAllTypes, getArmorFromName, getArmorType, getArmorTypeName, getArmorTypeName, getBaseAvailability, getBaseBV, getBaseCost, getBaseCriticalSlots, getBaseTonnage, getBV, getCommonDate, getCost, getCost, getDesc, getDesc, getEquipDateAsString, getExtinctionDate, getExtinctionDate, getExtinctionDate, getFlags, getHeat, getInternalName, getIntroductionDate, getIntroductionDate, getIntroductionDate, getLookupCollisions, getMode, getModes, getModesCount, getModesCount, getName, getName, getNames, getNumCriticalSlots, getNumCriticalSlots, getProductionDate, getProductionDate, getPrototypeDate, getPrototypeDate, getRawCost, getReintroductionDate, getReintroductionDate, getReintroductionDate, getRulesRefs, getShortName, getShortName, getSortingName, getStaticTechLevel, getStructureCost, getStructureFromName, getStructureTechAdvancement, getStructureType, getStructureTypeAbbrev, getStructureTypeName, getStructureTypeName, getSupportVeeSlots, getTankSlots, getTechAdvancement, getTechBase, getTechLevel, getTechLevel, getTechLevels, getTechRating, getToHitModifier, getToHitModifierAtRange, getTonnage, getTonnage, getTonnage, getTonnage, hasAnyFlag, hasAnyFlag, hasFlag, hashCode, hasHitModifiersByRange, hasInstantModeSwitch, hasModes, hasModeType, is, isAnyOf, isArmorType, isC3Equipment, isClan, isExplosive, isExplosive, isHittable, isIntroLevel, isMixedTech, isNextTurnModeSwitch, isOmniFixedOnly, isSpreadable, isStructureType, isUnofficial, isVariableBV, isVariableCost, isVariableCriticalSlots, isVariableSize, isVariableTonnage, matchesName, relevantToTargetingComputer, removeMode, setFlags, setInstantModeSwitch, setInternalName, setModes, variableMaxSize, variableStepSizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface megamek.common.interfaces.ITechnology
calcEraAvailability, calcEraAvailability, calcYearAvailability, calcYearAvailability, calcYearAvailability, findMinimumRulesLevel, findMinimumRulesLevel, getAdvancedRange, getAdvancedRange, getCodeFromIOAbbr, getCodeFromMMAbbr, getCommonDate, getEraAvailabilityName, getEraAvailabilityName, getExperimentalRange, getExperimentalRange, getExtinctionRange, getExtinctionRange, getFullRatingName, getFullRatingName, getProductionDate, getPrototypeDate, getSimpleLevel, getSimpleLevel, getSimpleLevel, getStandardRange, getStandardRange, getTechRatingName, isAvailableIn, isAvailableIn, isAvailableIn, isExtinct, isExtinct, isExtinct, isLegal, isLegal
-
Constructor Details
-
BombType
public BombType()
-
-
Method Details
-
getBombName
Deprecated, for removal: This API element is subject to removal in a future version. -
getBombTypeFromName
@Deprecated(forRemoval=true, since="0.50.7") public static BombType.BombTypeEnum getBombTypeFromName(String name) Deprecated, for removal: This API element is subject to removal in a future version. -
getBombTypeFromInternalName
@Deprecated(forRemoval=true, since="0.50.7") public static BombType.BombTypeEnum getBombTypeFromInternalName(String name) Deprecated, for removal: This API element is subject to removal in a future version. -
getBombWeaponName
Deprecated, for removal: This API element is subject to removal in a future version. -
getBombTypeForWeapon
@Deprecated(forRemoval=true, since="0.50.7") public static BombType.BombTypeEnum getBombTypeForWeapon(EquipmentType weapon) Deprecated, for removal: This API element is subject to removal in a future version. -
getBombInternalName
Deprecated, for removal: This API element is subject to removal in a future version. -
getBombCost
Deprecated, for removal: This API element is subject to removal in a future version. -
getBombType
-
initializeTypes
public static void initializeTypes() -
allBombTypes
- Returns:
- All BombType equipment types as a List. The list is a copy and can safely be modified.
-
createBombByType
-
isFaeBomb
public boolean isFaeBomb()- Returns:
- True when this bomb type is either a large or small FAE.
-