public enum EGameSpeed extends Enum<EGameSpeed>
| Modifier and Type | Method and Description |
|---|---|
static EGameSpeed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EGameSpeed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EGameSpeed BREAK
public static final EGameSpeed SLOW
public static final EGameSpeed MEDIUM
public static final EGameSpeed FAST
public static EGameSpeed[] values()
for (EGameSpeed c : EGameSpeed.values()) System.out.println(c);
public static EGameSpeed 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 © 2011-2016 Sahits GmbH. All Rights Reserved.