public enum HeroSubClass extends java.lang.Enum<HeroSubClass>
Enum Constant and Description |
---|
ASSASSIN |
BATTLEMAGE |
BERSERKER |
FREERUNNER |
GLADIATOR |
LICH |
NONE |
SCOUT |
SHAMAN |
SNIPER |
WARDEN |
WARLOCK |
Modifier and Type | Method and Description |
---|---|
ClassArmor |
classArmor() |
java.lang.String |
desc() |
Abilities |
getAbilities() |
static HeroSubClass |
restoreFromBundle(Bundle bundle) |
void |
storeInBundle(Bundle bundle) |
java.lang.String |
title() |
static HeroSubClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HeroSubClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeroSubClass NONE
public static final HeroSubClass GLADIATOR
public static final HeroSubClass BERSERKER
public static final HeroSubClass WARLOCK
public static final HeroSubClass BATTLEMAGE
public static final HeroSubClass ASSASSIN
public static final HeroSubClass FREERUNNER
public static final HeroSubClass SNIPER
public static final HeroSubClass WARDEN
public static final HeroSubClass SCOUT
public static final HeroSubClass SHAMAN
public static final HeroSubClass LICH
public static HeroSubClass[] values()
for (HeroSubClass c : HeroSubClass.values()) System.out.println(c);
public static HeroSubClass 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 java.lang.String title()
public java.lang.String desc()
public void storeInBundle(Bundle bundle)
public static HeroSubClass restoreFromBundle(Bundle bundle)
public ClassArmor classArmor()
public Abilities getAbilities()