Modifier and Type | Method and Description |
---|---|
TipoMagia |
CartaMagia.getMagiaTipo()
Recupera o atributo magiaTipo.
|
static TipoMagia |
TipoMagia.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TipoMagia[] |
TipoMagia.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
CartaMagia.setMagiaTipo(TipoMagia magiaTipo)
Modifica o atributo magiaTipo.
|
Constructor and Description |
---|
CartaMagia(int id,
java.lang.String nome,
int mana,
TipoMagia magiaTipo,
int magiaDano)
Construtor da classe CartaLacaio.
|