Enum Class PowerUp

java.lang.Object
java.lang.Enum<PowerUp>
xyz.stachel.zombiesutils.api.event.PowerUp
All Implemented Interfaces:
Serializable, Comparable<PowerUp>, Constable

public enum PowerUp extends Enum<PowerUp>
  • Enum Constant Details

    • INSTA_KILL

      public static final PowerUp INSTA_KILL
    • MAX_AMMO

      public static final PowerUp MAX_AMMO
    • DOUBLE_GOLD

      public static final PowerUp DOUBLE_GOLD
    • SHOPPING_SPREE

      public static final PowerUp SHOPPING_SPREE
    • CARPENTER

      public static final PowerUp CARPENTER
    • BONUS_GOLD

      public static final PowerUp BONUS_GOLD
  • Method Details

    • values

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