Enum Class PotionType
- All Implemented Interfaces:
Serializable, Comparable<PotionType>, Constable
Potion categories that also represent each soul weakness.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDream Mist potion and soul type.Energy Splash potion and soul type.Nova Spark potion and soul type.Passion Pop potion and soul type.Soothing Love potion and soul type.Starlove Charm potion and soul type. -
Method Summary
Modifier and TypeMethodDescriptionstatic PotionTypeReturns the enum constant of this class with the specified name.static PotionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DREAM_MIST
Dream Mist potion and soul type. -
ENERGY_SPLASH
Energy Splash potion and soul type. -
NOVA_SPARK
Nova Spark potion and soul type. -
PASSION_POP
Passion Pop potion and soul type. -
SOOTHING_LOVE
Soothing Love potion and soul type. -
STARLOVE_CHARM
Starlove Charm potion and soul type.
-
-
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
-