Enum Class DeathmatchLifecycle

java.lang.Object
java.lang.Enum<DeathmatchLifecycle>
games.stendhal.server.maps.deathmatch.DeathmatchLifecycle
All Implemented Interfaces:
Serializable, Comparable<DeathmatchLifecycle>, Constable

public enum DeathmatchLifecycle extends Enum<DeathmatchLifecycle>
life cycle of the deathmatch.
  • Enum Constant Details

    • BAIL

      public static final DeathmatchLifecycle BAIL
      player asked to bail but the deathmatch was not canceled yet.
    • CANCEL

      public static final DeathmatchLifecycle CANCEL
      all creatures were removed becaused the player has asked to bail before.
    • DONE

      public static final DeathmatchLifecycle DONE
      deathmatch was completed sucessfully and the player got his/her reward.
    • START

      public static final DeathmatchLifecycle START
      deathmatch has been started and is active now.
    • VICTORY

      public static final DeathmatchLifecycle VICTORY
      deathmatch was completed sucessfully but the player did not claim "victory" yet.
  • Method Details

    • values

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