Enum Spell.Modern

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

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

      • values

        public static Spell.Modern[] 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.Modern c : Spell.Modern.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.Modern 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