Enum Class DeathmatchLifecycle
- All Implemented Interfaces:
Serializable
,Comparable<DeathmatchLifecycle>
,Constable
life cycle of the deathmatch.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionplayer asked to bail but the deathmatch was not canceled yet.all creatures were removed becaused the player has asked to bail before.deathmatch was completed sucessfully and the player got his/her reward.deathmatch has been started and is active now.deathmatch was completed sucessfully but the player did not claim "victory" yet. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeathmatchLifecycle
Returns the enum constant of this class with the specified name.static DeathmatchLifecycle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BAIL
player asked to bail but the deathmatch was not canceled yet. -
CANCEL
all creatures were removed becaused the player has asked to bail before. -
DONE
deathmatch was completed sucessfully and the player got his/her reward. -
START
deathmatch has been started and is active now. -
VICTORY
deathmatch was completed sucessfully but the player did not claim "victory" yet.
-
-
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
-