public abstract class AbstractHealingSource extends Object implements HealingSource
HealingSource.Builder, HealingSource.HealingSourceBuilder<T extends HealingSource,B extends HealingSource.HealingSourceBuilder<T,B>>
Modifier | Constructor and Description |
---|---|
protected |
AbstractHealingSource(AbstractHealingSourceBuilder<?,?> builder) |
Modifier and Type | Method and Description |
---|---|
HealingType |
getHealingType()
Gets the
HealingType for this source. |
boolean |
isDifficultyScaled()
Gets whether this
HealingSource 's healing amount is scaled by
Difficulty . |
boolean |
isMagic()
Gets whether this
HealingSource is considered to be magical
healing, such as potions, or other sources. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder
protected AbstractHealingSource(AbstractHealingSourceBuilder<?,?> builder)
public HealingType getHealingType()
HealingSource
HealingType
for this source.getHealingType
in interface HealingSource
public boolean isDifficultyScaled()
HealingSource
HealingSource
's healing amount is scaled by
Difficulty
.isDifficultyScaled
in interface HealingSource
public boolean isMagic()
HealingSource
HealingSource
is considered to be magical
healing, such as potions, or other sources.isMagic
in interface HealingSource