public enum ArenaTime extends Enum<ArenaTime>
Enum Constant and Description |
---|
DAY |
DAY_BEGINNING |
MIDNIGHT |
NIGHT |
NOON |
SUNRISE |
SUNSET |
WORLD |
Modifier and Type | Field and Description |
---|---|
int |
time |
Modifier and Type | Method and Description |
---|---|
static ArenaTime |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArenaTime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArenaTime WORLD
public static final ArenaTime DAY_BEGINNING
public static final ArenaTime DAY
public static final ArenaTime NOON
public static final ArenaTime SUNSET
public static final ArenaTime NIGHT
public static final ArenaTime MIDNIGHT
public static final ArenaTime SUNRISE
public static ArenaTime[] values()
for (ArenaTime c : ArenaTime.values()) System.out.println(c);
public static ArenaTime 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 © 2019. All rights reserved.