Interface TriggerActivatedListener
- All Superinterfaces:
java.util.EventListener
- All Known Subinterfaces:
TriggerListener
- 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 TriggerActivatedListener
extends java.util.EventListenerThis listener provides a callback for when a
Trigger was activated.Method Summary
Modifier and Type Method Description voidactivated(TriggerEvent event)This method is called when aTriggerwas activated.
Method Details
activated
This method is called when aTriggerwas activated.- Parameters:
event- The event data that contains information about the trigger.- See Also:
Trigger.isActivated()
