Enum KitType

    • Enum Constant Detail

      • HEAD

        public static final KitType HEAD
      • CAPE

        public static final KitType CAPE
      • AMULET

        public static final KitType AMULET
      • WEAPON

        public static final KitType WEAPON
      • TORSO

        public static final KitType TORSO
      • SHIELD

        public static final KitType SHIELD
      • ARMS

        public static final KitType ARMS
      • LEGS

        public static final KitType LEGS
      • HAIR

        public static final KitType HAIR
      • HANDS

        public static final KitType HANDS
      • BOOTS

        public static final KitType BOOTS
      • JAW

        public static final KitType JAW
    • Method Detail

      • values

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

        public static KitType 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