Interface ModifierFunction<M>
- Type Parameters:
- M- The modifier type
- All Known Implementing Classes:
- DamageFunction
public interface ModifierFunction<M>
A function associating a
 
DamageModifier with a DoubleUnaryOperator of the resultant
 effect.- 
Method Details- 
modifierM modifier()Gets the modifier used by this modifier function.- Returns:
- The modifier
 
- 
functionDoubleUnaryOperator function()Gets the double unary operator used by this function.- Returns:
- The unary operator
 
 
-