public static enum Raid.RaidStatus extends Enum<Raid.RaidStatus>
Raid
.Enum Constant and Description |
---|
LOSS
The village has fallen (i.e.
|
ONGOING
The raid is in progress.
|
STOPPED
The raid was terminated.
|
VICTORY
The raid was beaten by heroes.
|
Modifier and Type | Method and Description |
---|---|
static Raid.RaidStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Raid.RaidStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Raid.RaidStatus ONGOING
public static final Raid.RaidStatus VICTORY
public static final Raid.RaidStatus LOSS
public static final Raid.RaidStatus STOPPED
public static Raid.RaidStatus[] values()
for (Raid.RaidStatus c : Raid.RaidStatus.values()) System.out.println(c);
public static Raid.RaidStatus 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 © 2021. All rights reserved.