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.EventListener
This listener provides callbacks for when an
ICombatEntity
died.- See Also:
ICombatEntity.die()
Method Summary
Modifier and Type Method Description void
death(ICombatEntity entity)
This method is called whenever aICombatEntity
dies.
Method Details
death
This method is called whenever aICombatEntity
dies.- Parameters:
entity
- The combat entity that died.