Enum Constant and Description |
---|
ELF |
HUNTRESS |
MAGE |
NECROMANCER |
ROGUE |
WARRIOR |
Modifier and Type | Method and Description |
---|---|
boolean |
allowed() |
ClassArmor |
classArmor() |
int |
getGender() |
java.lang.String |
getMagicAffinity() |
void |
initHero(Hero hero) |
boolean |
isSpellUser() |
void |
isSpellUser(boolean b) |
Badges.Badge |
masteryBadge() |
java.lang.String[] |
perks() |
static HeroClass |
restoreFromBundle(Bundle bundle) |
static void |
setMagicAffinity(java.lang.String affinity) |
void |
storeInBundle(Bundle bundle) |
java.lang.String |
title() |
static HeroClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HeroClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeroClass WARRIOR
public static final HeroClass MAGE
public static final HeroClass ROGUE
public static final HeroClass HUNTRESS
public static final HeroClass ELF
public static final HeroClass NECROMANCER
public static HeroClass[] values()
for (HeroClass c : HeroClass.values()) System.out.println(c);
public static HeroClass 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 boolean allowed()
public void initHero(Hero hero)
public Badges.Badge masteryBadge()
public java.lang.String title()
@NonNull public java.lang.String[] perks()
public int getGender()
public void storeInBundle(Bundle bundle)
public ClassArmor classArmor()
public boolean isSpellUser()
public void isSpellUser(boolean b)
public java.lang.String getMagicAffinity()
public static void setMagicAffinity(java.lang.String affinity)