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
      • MIND

        public static final Rune MIND
      • WATER

        public static final Rune WATER
      • EARTH

        public static final Rune EARTH
      • FIRE

        public static final Rune FIRE
      • 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
      • MIST

        public static final Rune MIST
      • DUST

        public static final Rune DUST
      • MUD

        public static final Rune MUD
      • SMOKE

        public static final Rune SMOKE
      • STEAM

        public static final Rune STEAM
      • LAVA

        public static final Rune LAVA
    • 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
      • getRune

        public static Rune getRune​(java.lang.String runeName)
      • getRune

        public static Rune getRune​(int id)
      • getId

        public int getId()
      • getName

        public java.lang.String getName()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<Rune>