M
- The modifier typepublic interface ModifierFunction<M>
HealthModifier
or a
DamageModifier
with a DoubleUnaryOperator
of the resultant
effect.Modifier and Type | Method and Description |
---|---|
DoubleUnaryOperator |
getFunction()
Gets the double unary operator used by this function.
|
M |
getModifier()
Gets the modifier used by this modifier function.
|
M getModifier()
DoubleUnaryOperator getFunction()