Interface DamageModifier.Function
- Enclosing interface:
DamageModifier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiondoublemodify(DamageStep step, double damage) Modifies the damage.
-
Method Details
-
modify
Modifies the damage.- Parameters:
step- The damage step this modifier is associated with.damage- The current damage value.- Returns:
- The next damage value
-