Package com.chillycheesy.modulo.listener
Interface Listener
public interface Listener
The class that implement Listener, will be called to catch
Event
emit by a Module
.
To catch an Event
, you need to create a public void method
with one parameter of Event
type.
If the method was annotated by the EventHandler
Annotation,
it will be invoked automatically when the unique parameter Event
is the same type as the emitted Event
.