public enum Combo extends Enum<Combo>
| Enum Constant and Description |
|---|
BERSERK |
BOOSTER |
INVISIBILITY |
SPEED |
| Modifier and Type | Method and Description |
|---|---|
static Combo |
parseCombo(String comboString) |
String |
toString() |
static Combo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Combo |
valueOfIgnoresCase(String comboString) |
static Combo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Combo BERSERK
public static final Combo BOOSTER
public static final Combo INVISIBILITY
public static final Combo SPEED
public static Combo[] values()
for (Combo c : Combo.values()) System.out.println(c);
public static Combo 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 © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.