Enum Class PetCosmetics
- All Implemented Interfaces:
Serializable,Comparable<PetCosmetics>,Constable
Setting used to determine whether or not a Pet replicates the cosmetics of its owner.
This setting will only apply to:
More may be added in the future.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApplicable Cosmetics will apply to you, Tameables you own, and your StarCosmetics Pet.Applicable Cosmetics will only apply to you (Default).Applicable Cosmetics will apply to you and your StarCosmetics Pet.Applicable Cosmetics will apply to you and any Tameables you own. -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the setting applies to StarCosmetics Pets.booleanWhether the setting applies to Tameables.static PetCosmeticsReturns the enum constant of this class with the specified name.static PetCosmetics[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OWNER_ONLY
Applicable Cosmetics will only apply to you (Default). -
STARCOSMETICS_PET_ONLY
Applicable Cosmetics will apply to you and your StarCosmetics Pet. -
TAMEABLES_ONLY
Applicable Cosmetics will apply to you and any Tameables you own. -
ALL
Applicable Cosmetics will apply to you, Tameables you own, and your StarCosmetics Pet.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isStarPet
public boolean isStarPet()Whether the setting applies to StarCosmetics Pets.- Returns:
- true if applies, false otherwise
-
isTameables
public boolean isTameables()Whether the setting applies to Tameables.- Returns:
- true if applies, false otherwise
-