public static enum MoveSkill.EnumTargetType extends java.lang.Enum<MoveSkill.EnumTargetType>
Enum Constant and Description |
---|
BLOCK
Usable on a specific block.
|
MISC_ENTITY
Usable on any living entity.
|
NOTHING
Usable without a target.
|
PLAYER
Usable specifically on a player entity.
|
POKEMON
Usable specifically on a Pokémon entity.
|
Modifier and Type | Method and Description |
---|---|
static MoveSkill.EnumTargetType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MoveSkill.EnumTargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MoveSkill.EnumTargetType NOTHING
public static final MoveSkill.EnumTargetType BLOCK
public static final MoveSkill.EnumTargetType POKEMON
public static final MoveSkill.EnumTargetType PLAYER
public static final MoveSkill.EnumTargetType MISC_ENTITY
public static MoveSkill.EnumTargetType[] values()
for (MoveSkill.EnumTargetType c : MoveSkill.EnumTargetType.values()) System.out.println(c);
public static MoveSkill.EnumTargetType 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 null