public enum EEventMediaType extends Enum<EEventMediaType>
| Enum Constant and Description |
|---|
CELEBRATION |
FIRE |
HANSEATIC_LEAGUE |
PIRATE_ATTACK |
PLAGUE |
| Modifier and Type | Method and Description |
|---|---|
String |
getResource() |
static EEventMediaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EEventMediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EEventMediaType PLAGUE
public static final EEventMediaType CELEBRATION
public static final EEventMediaType FIRE
public static final EEventMediaType HANSEATIC_LEAGUE
public static final EEventMediaType PIRATE_ATTACK
private final String resource
public static EEventMediaType[] values()
for (EEventMediaType c : EEventMediaType.values()) System.out.println(c);
public static EEventMediaType 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 nullpublic String getResource()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.