Enum Spell.Ancient

  • All Implemented Interfaces:
    Spell, java.io.Serializable, java.lang.Comparable<Spell.Ancient>
    Enclosing interface:
    Spell

    public static enum Spell.Ancient
    extends java.lang.Enum<Spell.Ancient>
    implements Spell
    • Method Detail

      • values

        public static Spell.Ancient[] 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 (Spell.Ancient c : Spell.Ancient.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Spell.Ancient 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
      • getExperience

        public double getExperience()
        Specified by:
        getExperience in interface Spell
      • getMaxHit

        public int getMaxHit()
        Specified by:
        getMaxHit in interface Spell
      • getSpellName

        public java.lang.String getSpellName()
        Specified by:
        getSpellName in interface Spell
      • getAutoCastVar

        public int getAutoCastVar()
        Specified by:
        getAutoCastVar in interface Spell