Enum Rune

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Rune>

    public enum Rune
    extends java.lang.Enum<Rune>
    • Enum Constant Detail

      • AIR

        public static final Rune AIR
      • EARTH

        public static final Rune EARTH
      • FIRE

        public static final Rune FIRE
      • WATER

        public static final Rune WATER
      • MIND

        public static final Rune MIND
      • BODY

        public static final Rune BODY
      • COSMIC

        public static final Rune COSMIC
      • CHAOS

        public static final Rune CHAOS
      • NATURE

        public static final Rune NATURE
      • LAW

        public static final Rune LAW
      • DEATH

        public static final Rune DEATH
      • ASTRAL

        public static final Rune ASTRAL
      • BLOOD

        public static final Rune BLOOD
      • SOUL

        public static final Rune SOUL
      • WRATH

        public static final Rune WRATH
    • Method Detail

      • values

        public static Rune[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Rune c : Rune.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Rune valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getRuneNames

        public java.lang.String[] getRuneNames()
      • getRuneId

        public int getRuneId()
      • getQuantity

        public int getQuantity()