public enum GcDifficulty extends Enum<GcDifficulty>
| Enum Constant and Description |
|---|
D1 |
D1_5 |
D2 |
D2_5 |
D3 |
D3_5 |
D4 |
D4_5 |
D5 |
| Modifier and Type | Method and Description |
|---|---|
float |
getCode() |
static List<GcDifficulty> |
reverseValues() |
String |
toString() |
static GcDifficulty |
valueOf(float code) |
static GcDifficulty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GcDifficulty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GcDifficulty D1
public static final GcDifficulty D1_5
public static final GcDifficulty D2
public static final GcDifficulty D2_5
public static final GcDifficulty D3
public static final GcDifficulty D3_5
public static final GcDifficulty D4
public static final GcDifficulty D4_5
public static final GcDifficulty D5
public static GcDifficulty[] values()
for (GcDifficulty c : GcDifficulty.values()) System.out.println(c);
public static GcDifficulty 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 float getCode()
public String toString()
toString in class Enum<GcDifficulty>public static List<GcDifficulty> reverseValues()
public static GcDifficulty valueOf(float code)
Copyright © 2017 Ultreia.io. All rights reserved.