public static enum PlayerRewards.Rewards extends java.lang.Enum<PlayerRewards.Rewards>
| Enum Constant and Description |
|---|
FISHING_FAILURE |
FISHING_SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static PlayerRewards.Rewards |
matchReward(java.lang.String action) |
static PlayerRewards.Rewards |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlayerRewards.Rewards[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerRewards.Rewards FISHING_SUCCESS
public static final PlayerRewards.Rewards FISHING_FAILURE
public static PlayerRewards.Rewards[] values()
for (PlayerRewards.Rewards c : PlayerRewards.Rewards.values()) System.out.println(c);
public static PlayerRewards.Rewards valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic static PlayerRewards.Rewards matchReward(java.lang.String action)