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
- 
modifier
M modifier()Gets the modifier used by this modifier function.- Returns:
 - The modifier
 
 - 
function
DoubleUnaryOperator function()Gets the double unary operator used by this function.- Returns:
 - The unary operator
 
 
 -