Enum Class AmmoTypeFlag

java.lang.Object
java.lang.Enum<AmmoTypeFlag>
megamek.common.equipment.enums.AmmoTypeFlag
All Implemented Interfaces:
Serializable, Comparable<AmmoTypeFlag>, Constable, EquipmentFlag

public enum AmmoTypeFlag extends Enum<AmmoTypeFlag> implements EquipmentFlag
Set of flags that can be used to determine how the ammo is used and its special properties
  • Enum Constant Details

    • F_BATTLEARMOR

      public static final AmmoTypeFlag F_BATTLEARMOR
    • F_PROTOMEK

      public static final AmmoTypeFlag F_PROTOMEK
    • F_ENCUMBERING

      public static final AmmoTypeFlag F_ENCUMBERING
    • F_MG

      public static final AmmoTypeFlag F_MG
    • F_MML_LRM

      public static final AmmoTypeFlag F_MML_LRM
    • F_MML_SRM

      public static final AmmoTypeFlag F_MML_SRM
    • F_HOT_LOAD

      public static final AmmoTypeFlag F_HOT_LOAD
    • F_SCREEN

      public static final AmmoTypeFlag F_SCREEN
    • F_INTERNAL_BOMB

      public static final AmmoTypeFlag F_INTERNAL_BOMB
    • F_GROUND_BOMB

      public static final AmmoTypeFlag F_GROUND_BOMB
    • F_OTHER_BOMB

      public static final AmmoTypeFlag F_OTHER_BOMB
    • F_SPACE_BOMB

      public static final AmmoTypeFlag F_SPACE_BOMB
    • F_AR10_BARRACUDA

      public static final AmmoTypeFlag F_AR10_BARRACUDA
    • F_AR10_KILLER_WHALE

      public static final AmmoTypeFlag F_AR10_KILLER_WHALE
    • F_AR10_WHITE_SHARK

      public static final AmmoTypeFlag F_AR10_WHITE_SHARK
    • F_CAP_MISSILE

      public static final AmmoTypeFlag F_CAP_MISSILE
    • F_CRUISE_MISSILE

      public static final AmmoTypeFlag F_CRUISE_MISSILE
    • F_TELE_MISSILE

      public static final AmmoTypeFlag F_TELE_MISSILE
    • F_NUCLEAR

      public static final AmmoTypeFlag F_NUCLEAR
    • F_SANTA_ANNA

      public static final AmmoTypeFlag F_SANTA_ANNA
    • F_PEACEMAKER

      public static final AmmoTypeFlag F_PEACEMAKER
  • Method Details

    • values

      public static AmmoTypeFlag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AmmoTypeFlag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null