Enum AgilityAction

    • Enum Constant Detail

      • GNOME_STRONGHOLD_COURSE

        public static final AgilityAction GNOME_STRONGHOLD_COURSE
      • SHAYZIEN_BASIC_COURSE

        public static final AgilityAction SHAYZIEN_BASIC_COURSE
      • DRAYNOR_VILLAGE_ROOFTOP

        public static final AgilityAction DRAYNOR_VILLAGE_ROOFTOP
      • AL_KHARID_ROOFTOP

        public static final AgilityAction AL_KHARID_ROOFTOP
      • VARROCK_ROOFTOP

        public static final AgilityAction VARROCK_ROOFTOP
      • PENGUIN_AGILITY_COURSE

        public static final AgilityAction PENGUIN_AGILITY_COURSE
      • LEAPING_SALMON

        public static final AgilityAction LEAPING_SALMON
      • BARBARIAN_OUTPOST

        public static final AgilityAction BARBARIAN_OUTPOST
      • CANIFIS_ROOFTOP

        public static final AgilityAction CANIFIS_ROOFTOP
      • LEAPING_STURGEON

        public static final AgilityAction LEAPING_STURGEON
      • APE_ATOLL_COURSE

        public static final AgilityAction APE_ATOLL_COURSE
      • SHAYZIEN_ADVANCED_COURSE

        public static final AgilityAction SHAYZIEN_ADVANCED_COURSE
      • FALADOR_ROOFTOP

        public static final AgilityAction FALADOR_ROOFTOP
      • WILDERNESS_AGILITY_COURSE

        public static final AgilityAction WILDERNESS_AGILITY_COURSE
      • HALLOWED_SEPULCHRE_FLOOR_1

        public static final AgilityAction HALLOWED_SEPULCHRE_FLOOR_1
      • SEERS_VILLAGE_ROOFTOP

        public static final AgilityAction SEERS_VILLAGE_ROOFTOP
      • WEREWOLF_AGILITY_COURSE

        public static final AgilityAction WEREWOLF_AGILITY_COURSE
      • HALLOWED_SEPULCHRE_FLOOR_2

        public static final AgilityAction HALLOWED_SEPULCHRE_FLOOR_2
      • POLLNIVNEACH_ROOFTOP

        public static final AgilityAction POLLNIVNEACH_ROOFTOP
      • HALLOWED_SEPULCHRE_FLOOR_3

        public static final AgilityAction HALLOWED_SEPULCHRE_FLOOR_3
      • PRIFDDINAS_AGILITY_COURSE

        public static final AgilityAction PRIFDDINAS_AGILITY_COURSE
      • RELLEKKA_ROOFTOP

        public static final AgilityAction RELLEKKA_ROOFTOP
      • HALLOWED_SEPULCHRE_FLOOR_4

        public static final AgilityAction HALLOWED_SEPULCHRE_FLOOR_4
      • ARDOUGNE_ROOFTOP

        public static final AgilityAction ARDOUGNE_ROOFTOP
      • HALLOWED_SEPULCHRE_FLOOR_5

        public static final AgilityAction HALLOWED_SEPULCHRE_FLOOR_5
    • Method Detail

      • values

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

        public static AgilityAction 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
      • getName

        public java.lang.String getName()
        Description copied from interface: NamedSkillAction
        Gets the name of this skill action, usually the item or object created, or the spell cast.
        Specified by:
        getName in interface NamedSkillAction
        Returns:
        The name of this skill action.
      • getLevel

        public int getLevel()
        Description copied from interface: SkillAction
        Gets the level required to perform this skill action.
        Specified by:
        getLevel in interface SkillAction
        Returns:
        The level required to perform this skill action.
      • getXp

        public float getXp()
        Description copied from interface: SkillAction
        Gets the amount of xp granted for performing this skill action.
        Specified by:
        getXp in interface SkillAction
        Returns:
        The amount of xp granted for performing this skill action.
      • getIcon

        public int getIcon()
        Description copied from interface: SkillAction
        Gets the item icon ID for this skill action, if applicable.

        Note: Either this method or SkillAction.getSprite() will always return -1, and the other will return some value 0 or greater.

        Specified by:
        getIcon in interface SkillAction
        Returns:
        The item icon ID of this skill action, or -1 if its icon should be represented using a sprite.
        See Also:
        ItemID, SkillAction.getSprite()