Serializable
, Comparable<BombState.BombStatus>
public static enum BombState.BombStatus extends Enum<BombState.BombStatus>
Enum Constant | Description |
---|---|
CARRIED |
Bomb is being carried in a player's inventory.
|
DEFUSED |
Bomb has been defused and round is resetting.
|
DEFUSING |
Bomb is currently being defused.
|
DROPPED |
Bomb is dropped on the ground.
|
EXPLODED |
Bomb has exploded and round is resetting.
|
PLANTED |
Bomb is planted.
|
PLANTING |
Bomb is currently being planted.
|
Modifier and Type | Method | Description |
---|---|---|
static BombState.BombStatus |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static BombState.BombStatus[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName("dropped") public static final BombState.BombStatus DROPPED
@SerializedName("carried") public static final BombState.BombStatus CARRIED
@SerializedName("planting") public static final BombState.BombStatus PLANTING
@SerializedName("planted") public static final BombState.BombStatus PLANTED
@SerializedName("defusing") public static final BombState.BombStatus DEFUSING
@SerializedName("defused") public static final BombState.BombStatus DEFUSED
@SerializedName("exploded") public static final BombState.BombStatus EXPLODED
public static BombState.BombStatus[] values()
for (BombState.BombStatus c : BombState.BombStatus.values()) System.out.println(c);
public static BombState.BombStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.