Enum Class AttackType

All Implemented Interfaces:
Serializable, Comparable<AttackType>, Constable

public enum AttackType extends Enum<AttackType>
  • Enum Constant Details

    • BITE

      public static final AttackType BITE
    • CHARGE

      public static final AttackType CHARGE
    • DEFAULT

      public static final AttackType DEFAULT
    • GRAPPLE_GRAB

      public static final AttackType GRAPPLE_GRAB
    • MELEE_STAB

      public static final AttackType MELEE_STAB
    • MELEE_STAB_TO_FLOOR

      public static final AttackType MELEE_STAB_TO_FLOOR
    • MELEE_SWING

      public static final AttackType MELEE_SWING
    • MELEE_TO_FLOOR

      public static final AttackType MELEE_TO_FLOOR
    • MISS

      public static final AttackType MISS
    • NONE

      public static final AttackType NONE
    • OVERHEAD

      public static final AttackType OVERHEAD
    • SHOT

      public static final AttackType SHOT
    • SHOVE

      public static final AttackType SHOVE
    • SPEAR_STAB

      public static final AttackType SPEAR_STAB
    • STOMP

      public static final AttackType STOMP
    • UPPERCUT

      public static final AttackType UPPERCUT
  • Method Details

    • values

      public static AttackType[] 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 AttackType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AttackType>
    • hasModifier

      public boolean hasModifier(AttackTypeModifier attackTypeModifier)