Enum Class DetonationResult

java.lang.Object
java.lang.Enum<DetonationResult>
edu.nps.moves.dis7.enumerations.DetonationResult
All Implemented Interfaces:
Serializable, Comparable<DetonationResult>, Constable

public enum DetonationResult extends Enum<DetonationResult>
This enum type is generated from XML, UID 62, marshal size 8; DetonationResult has 34 enumerations total.
See Also:
  • Enum Constant Details

    • OTHER

      public static final DetonationResult OTHER
      Other
    • ENTITY_IMPACT

      public static final DetonationResult ENTITY_IMPACT
      Entity Impact
    • ENTITY_PROXIMATE_DETONATION

      public static final DetonationResult ENTITY_PROXIMATE_DETONATION
      Entity Proximate Detonation
    • GROUND_IMPACT

      public static final DetonationResult GROUND_IMPACT
      Ground Impact
    • GROUND_PROXIMATE_DETONATION

      public static final DetonationResult GROUND_PROXIMATE_DETONATION
      Ground Proximate Detonation
    • DETONATION

      public static final DetonationResult DETONATION
      Detonation
    • NONE_OR_NO_DETONATION_DUD

      public static final DetonationResult NONE_OR_NO_DETONATION_DUD
      None or No Detonation (Dud)
    • HE_HIT_SMALL

      public static final DetonationResult HE_HIT_SMALL
      HE hit, small
    • HE_HIT_MEDIUM

      public static final DetonationResult HE_HIT_MEDIUM
      HE hit, medium
    • HE_HIT_LARGE

      public static final DetonationResult HE_HIT_LARGE
      HE hit, large
    • ARMOR_PIERCING_HIT

      public static final DetonationResult ARMOR_PIERCING_HIT
      Armor-piercing hit
    • DIRT_BLAST_SMALL

      public static final DetonationResult DIRT_BLAST_SMALL
      Dirt blast, small
    • DIRT_BLAST_MEDIUM

      public static final DetonationResult DIRT_BLAST_MEDIUM
      Dirt blast, medium
    • DIRT_BLAST_LARGE

      public static final DetonationResult DIRT_BLAST_LARGE
      Dirt blast, large
    • WATER_BLAST_SMALL

      public static final DetonationResult WATER_BLAST_SMALL
      Water blast, small
    • WATER_BLAST_MEDIUM

      public static final DetonationResult WATER_BLAST_MEDIUM
      Water blast, medium
    • WATER_BLAST_LARGE

      public static final DetonationResult WATER_BLAST_LARGE
      Water blast, large
    • AIR_HIT

      public static final DetonationResult AIR_HIT
      Air hit
    • BUILDING_HIT_SMALL

      public static final DetonationResult BUILDING_HIT_SMALL
      Building hit, small
    • BUILDING_HIT_MEDIUM

      public static final DetonationResult BUILDING_HIT_MEDIUM
      Building hit, medium
    • BUILDING_HIT_LARGE

      public static final DetonationResult BUILDING_HIT_LARGE
      Building hit, large
    • MINE_CLEARING_LINE_CHARGE

      public static final DetonationResult MINE_CLEARING_LINE_CHARGE
      Mine-clearing line charge
    • ENVIRONMENT_OBJECT_IMPACT

      public static final DetonationResult ENVIRONMENT_OBJECT_IMPACT
      Environment object impact
    • ENVIRONMENT_OBJECT_PROXIMATE_DETONATION

      public static final DetonationResult ENVIRONMENT_OBJECT_PROXIMATE_DETONATION
      Environment object proximate detonation
    • WATER_IMPACT

      public static final DetonationResult WATER_IMPACT
      Water Impact
    • AIR_BURST

      public static final DetonationResult AIR_BURST
      Air Burst
    • KILL_WITH_FRAGMENT_TYPE_1

      public static final DetonationResult KILL_WITH_FRAGMENT_TYPE_1
      Kill with fragment type 1
    • KILL_WITH_FRAGMENT_TYPE_2

      public static final DetonationResult KILL_WITH_FRAGMENT_TYPE_2
      Kill with fragment type 2
    • IDENTIFICATION_FRIEND_OR_FOE

      public static final DetonationResult IDENTIFICATION_FRIEND_OR_FOE
      Kill with fragment type 3
    • KILL_WITH_FRAGMENT_TYPE_1_AFTER_FLY_OUT_FAILURE

      public static final DetonationResult KILL_WITH_FRAGMENT_TYPE_1_AFTER_FLY_OUT_FAILURE
      Kill with fragment type 1 after fly-out failure
    • SUPPLEMENTAL_EMISSION_ENTITY_STATE

      public static final DetonationResult SUPPLEMENTAL_EMISSION_ENTITY_STATE
      Kill with fragment type 2 after fly-out failure
    • MISS_DUE_TO_FLY_OUT_FAILURE

      public static final DetonationResult MISS_DUE_TO_FLY_OUT_FAILURE
      Miss due to fly-out failure
    • MISS_DUE_TO_END_GAME_FAILURE

      public static final DetonationResult MISS_DUE_TO_END_GAME_FAILURE
      Miss due to end-game failure
    • MISS_DUE_TO_FLY_OUT_AND_END_GAME_FAILURE

      public static final DetonationResult MISS_DUE_TO_FLY_OUT_AND_END_GAME_FAILURE
      Miss due to fly-out and end-game failure
  • Method Details

    • values

      public static DetonationResult[] 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 DetonationResult 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
    • getValue

      public int getValue()
      Provide enumeration value
      Returns:
      integer value
    • getDescription

      public String getDescription()
      Provide enumeration description
      Returns:
      description
    • getEnumBitWidth

      public static int getEnumBitWidth()
      bit width for this enumeration
      Returns:
      number of bits wide
    • getEnumForValue

      public static DetonationResult getEnumForValue(int value)
      Provide enumeration for a given value
      Parameters:
      value - integer value of interest
      Returns:
      enumeration corresponding to numeric value
    • setTRACE

      public void setTRACE(boolean value)
      Set tracing on/off for this object
      Parameters:
      value - whether tracing is on or off
    • getTRACE

      public boolean getTRACE()
      Whether tracing is on or off for this object
      Returns:
      whether tracing is on or off
    • marshal

      public void marshal(DataOutputStream dos) throws IOException
      Marshal value to DataOutputStream
      Parameters:
      dos - DataOutputStream for output
      Throws:
      IOException - input-output error
      See Also:
    • marshal

      public void marshal(ByteBuffer byteBuffer) throws Exception
      Marshal value to ByteBuffer
      Parameters:
      byteBuffer - ByteBuffer for output
      Throws:
      IOException - input-output error
      Exception
      See Also:
    • unmarshalEnum

      public static DetonationResult unmarshalEnum(DataInputStream dis) throws Exception
      Unmarshal value to DataInputStream
      Parameters:
      dis - DataInputStream for input
      Returns:
      enumeration of interest
      Throws:
      Exception - unmarshalling input-output error
      See Also:
    • unmarshalEnum

      public static DetonationResult unmarshalEnum(ByteBuffer byteBuffer) throws Exception
      Unmarshal enumeration value to ByteBuffer
      Parameters:
      byteBuffer - ByteBuffer for input
      Returns:
      enumeration of interest
      Throws:
      Exception - unmarshalling input-output error
      See Also:
    • getMarshalledSize

      public int getMarshalledSize()
      Returns size of this serialized (marshalled) object in bytes
      Returns:
      serialized size in bytes
      See Also:
    • getName

      public String getName()
      Provide name
      Returns:
      name
    • toString

      public String toString()
      Provide simple identifier
      Overrides:
      toString in class Enum<DetonationResult>
      Returns:
      class name, value and name