Enum Class PotionType

java.lang.Object
java.lang.Enum<PotionType>
gameelement.potion.PotionType
All Implemented Interfaces:
Serializable, Comparable<PotionType>, Constable

public enum PotionType extends Enum<PotionType>
Potion categories that also represent each soul weakness.
  • Enum Constant Details

    • DREAM_MIST

      public static final PotionType DREAM_MIST
      Dream Mist potion and soul type.
    • ENERGY_SPLASH

      public static final PotionType ENERGY_SPLASH
      Energy Splash potion and soul type.
    • NOVA_SPARK

      public static final PotionType NOVA_SPARK
      Nova Spark potion and soul type.
    • PASSION_POP

      public static final PotionType PASSION_POP
      Passion Pop potion and soul type.
    • SOOTHING_LOVE

      public static final PotionType SOOTHING_LOVE
      Soothing Love potion and soul type.
    • STARLOVE_CHARM

      public static final PotionType STARLOVE_CHARM
      Starlove Charm potion and soul type.
  • Method Details

    • values

      public static PotionType[] 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

      public static PotionType valueOf(String name)
      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 name
      NullPointerException - if the argument is null