public abstract class BaseSubclass extends java.lang.Object implements WauzPlayerSubclass
Modifier and Type | Field and Description |
---|---|
private java.util.List<Learnable> |
learnables
A list of all learnables from the mastery.
|
Constructor and Description |
---|
BaseSubclass() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Learnable> |
getLearnables() |
java.util.List<Learnable> |
getLearned(int masteryLevel)
Gets all learned learnables at the given mastery level.
|
Learnable |
getNextLearnable(int masteryLevel)
Determines the next learnable to learn in the mastery.
|
protected void |
registerLearnable(Learnable learnable)
Registers a learnable for the mastery.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSubclassItemStack, getSubclassName, getSublassColor, getSublassDescription
private java.util.List<Learnable> learnables
protected void registerLearnable(Learnable learnable)
learnable
- The learnable to register.public java.util.List<Learnable> getLearnables()
getLearnables
in interface WauzPlayerSubclass
public java.util.List<Learnable> getLearned(int masteryLevel)
getLearned
in interface WauzPlayerSubclass
masteryLevel
- The level of the mastery.public Learnable getNextLearnable(int masteryLevel)
getNextLearnable
in interface WauzPlayerSubclass
masteryLevel
- The level of the mastery.