Event constructor
Default constructor for the Event class. eventName - the name of the event, used to identify the event. eventData - The data associated with the event. sender - Identifier to identify who is sending the event.
Implementation
Event(this.eventName, [this.eventData, this.sender]);