Module technology.sola.engine
Package technology.sola.engine.event
Interface EventListener<T extends Event>
- Type Parameters:
T- the type of the event
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The EventListener interface defines the api for listening to emitted
Events of a certain type.-
Method Summary
-
Method Details
-
onEvent
Function called whenever anEventthat is listened to is emitted.- Parameters:
event- the event the was emitted
-