Enum Enemy

    • Enum Constant Detail

      • DOUBLE_AGENT_65

        public static final Enemy DOUBLE_AGENT_65
      • DOUBLE_AGENT_108

        public static final Enemy DOUBLE_AGENT_108
      • DOUBLE_AGENT_141

        public static final Enemy DOUBLE_AGENT_141
      • ZAMORAK_WIZARD

        public static final Enemy ZAMORAK_WIZARD
      • SARADOMIN_WIZARD

        public static final Enemy SARADOMIN_WIZARD
      • ARMADYLEAN_OR_BANDOSIAN_GUARD

        public static final Enemy ARMADYLEAN_OR_BANDOSIAN_GUARD
      • ARMADYLEAN_GUARD

        public static final Enemy ARMADYLEAN_GUARD
      • BANDOSIAN_GUARD

        public static final Enemy BANDOSIAN_GUARD
      • BRASSICAN_MAGE

        public static final Enemy BRASSICAN_MAGE
      • ANCIENT_WIZARDS

        public static final Enemy ANCIENT_WIZARDS
      • BRASSICAN_OR_WIZARDS

        public static final Enemy BRASSICAN_OR_WIZARDS
    • Method Detail

      • values

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

        public static Enemy valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getText

        public String getText()