java.io.Serializable
, java.lang.Comparable<Studying.perLevelLimits>
protected static enum Studying.perLevelLimits extends java.lang.Enum<Studying.perLevelLimits>
Modifier and Type | Method | Description |
---|---|---|
boolean |
doesRuleApplyTo(int abilityCode) |
|
boolean |
doesRuleApplyTo(Ability A) |
|
int |
numAllowed(int classLevel) |
|
static Studying.perLevelLimits |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Studying.perLevelLimits[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Studying.perLevelLimits COMMON
public static final Studying.perLevelLimits SKILL
public static final Studying.perLevelLimits SONG
public static final Studying.perLevelLimits SPELL
public static final Studying.perLevelLimits CHANT
public static final Studying.perLevelLimits PRAYER
public static Studying.perLevelLimits[] values()
for (Studying.perLevelLimits c : Studying.perLevelLimits.values()) System.out.println(c);
public static Studying.perLevelLimits 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 doesRuleApplyTo(Ability A)
public boolean doesRuleApplyTo(int abilityCode)
public int numAllowed(int classLevel)