Interface CombatEntityDeathListener
- All Superinterfaces:
java.util.EventListener
- All Known Subinterfaces:
CombatEntityListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface CombatEntityDeathListener
extends java.util.EventListenerThis listener provides callbacks for when an
ICombatEntity died.- See Also:
ICombatEntity.die()
Method Summary
Modifier and Type Method Description voiddeath(ICombatEntity entity)This method is called whenever aICombatEntitydies.
Method Details
death
This method is called whenever aICombatEntitydies.- Parameters:
entity- The combat entity that died.
