Enum Class FightMode

java.lang.Object
java.lang.Enum<FightMode>
dev.gothickit.zenkit.mds.FightMode
All Implemented Interfaces:
EnumNative<FightMode>, Serializable, Comparable<FightMode>, Constable

public enum FightMode extends Enum<FightMode> implements EnumNative<FightMode>
  • Enum Constant Details

    • FIST

      public static final FightMode FIST
    • SINGLE_HANDED

      public static final FightMode SINGLE_HANDED
    • DUAL_HANDED

      public static final FightMode DUAL_HANDED
    • BOW

      public static final FightMode BOW
    • CROSSBOW

      public static final FightMode CROSSBOW
    • MAGIC

      public static final FightMode MAGIC
    • NONE

      public static final FightMode NONE
    • INVALID

      public static final FightMode INVALID
  • Method Details

    • values

      public static FightMode[] 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 FightMode 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
    • getIntValue

      public int getIntValue()
      Specified by:
      getIntValue in interface EnumNative<FightMode>
    • getForValue

      public FightMode getForValue(int i)
      Specified by:
      getForValue in interface EnumNative<FightMode>