Skip to content
jsutlive edited this page May 17, 2023 · 1 revision

Interface IEvent

Functional Interface

Introduction

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.

Methods

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.

Clone this wiki locally