public enum BattleItem extends java.lang.Enum<BattleItem>
Enum Constant and Description |
---|
BLUE_FLUTE |
DIRE_HIT |
FLUFFY_TAIL |
GREEN_FLUTE |
GUARD_SPEC |
MAX_MUSHROOM |
RED_FLUTE |
X_ACCURACY |
X_ATTACK |
X_DEFENSE |
X_SPECIAL_ATTACK |
X_SPECIAL_DEFENSE |
X_SPEED |
YELLOW_FLUTE |
Modifier and Type | Method and Description |
---|---|
BattleStatsType |
getEffectType() |
java.lang.String |
getTextureName() |
static BattleItem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BattleItem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BattleItem X_ATTACK
public static final BattleItem X_DEFENSE
public static final BattleItem X_SPECIAL_ATTACK
public static final BattleItem X_SPECIAL_DEFENSE
public static final BattleItem X_SPEED
public static final BattleItem X_ACCURACY
public static final BattleItem DIRE_HIT
public static final BattleItem GUARD_SPEC
public static final BattleItem MAX_MUSHROOM
public static final BattleItem FLUFFY_TAIL
public static final BattleItem RED_FLUTE
public static final BattleItem GREEN_FLUTE
public static final BattleItem BLUE_FLUTE
public static final BattleItem YELLOW_FLUTE
public static BattleItem[] values()
for (BattleItem c : BattleItem.values()) System.out.println(c);
public static BattleItem valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic BattleStatsType getEffectType()
public java.lang.String getTextureName()