Package dev.prozilla.pine.common.event
Interface EventListener<E extends Event<?,?>>
- Type Parameters:
E
- The type of event to listen to
- All Known Implementing Classes:
EventDispatcherContext.EphemeralEventListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An event listener handles events when they occur.
- See Also:
-
Method Summary
-
Method Details
-
handle
Handles an event.- Parameters:
event
- The event to handle
-