-
Notifications
You must be signed in to change notification settings - Fork 2
IEvent
jsutlive edited this page May 17, 2023
·
1 revision
Functional Interface
This interface is used for managing aspects of the event system. This is a C#-style event handler system (with IEvent), ported to Java. It is a slightly altered script from Danilow's C# Like Event Handlers Pattern in Java. This is a functional interface, which in this context is used to enable it to work with the generic class EventHandler.
Note all interface methods are considered to be public
| Return Type | Method Name | Description |
|---|---|---|
| void | invoke | all subscribed methods are called. See EventHandler for details. |