public static enum Player.Animation extends Enum<Player.Animation>
| Enum Constant and Description |
|---|
CRITICAL_HIT |
MAGIC_CRITICAL_HIT |
ROW_LEFT |
ROW_RIGHT |
SWING_ARM |
WAKE_UP |
| Modifier and Type | Method and Description |
|---|---|
static Player.Animation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Player.Animation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Player.Animation SWING_ARM
public static final Player.Animation WAKE_UP
public static final Player.Animation CRITICAL_HIT
public static final Player.Animation MAGIC_CRITICAL_HIT
public static final Player.Animation ROW_RIGHT
public static final Player.Animation ROW_LEFT
public static Player.Animation[] values()
for (Player.Animation c : Player.Animation.values()) System.out.println(c);
public static Player.Animation 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 © 2017–2018 NukkitX. All rights reserved.