public enum TipoEfeito extends java.lang.Enum<TipoEfeito>
Object
Enum Constant and Description |
---|
ATAQUE_DUPLO |
INVESTIDA |
NADA |
PROVOCAR |
Modifier and Type | Method and Description |
---|---|
static TipoEfeito |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TipoEfeito[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TipoEfeito NADA
public static final TipoEfeito PROVOCAR
public static final TipoEfeito INVESTIDA
public static final TipoEfeito ATAQUE_DUPLO
public static TipoEfeito[] values()
for (TipoEfeito c : TipoEfeito.values()) System.out.println(c);
public static TipoEfeito 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