ZEvent Manager
Manages event listeners for a ZObject instance. This class encapsulates all listener management functionality, providing a clean API for adding, removing, and notifying listeners for touch, mouse, and keyboard events.
Properties
Functions
Adds a keyboard event listener using a lambda function.
Adds a keyboard event listener to this object.
Adds a mouse event listener using a lambda function.
Adds a mouse event listener to this object.
Adds a touch event listener using a lambda function.
Adds a touch event listener to this object.
Notifies all registered keyboard listeners of a keyboard event. This method is called internally by the event distribution system.
Notifies all registered mouse listeners of a mouse event. This method is called internally by the event distribution system.
Notifies all registered touch listeners of a touch event. This method is called internally by the event distribution system.
Removes all keyboard event listeners from this object.
Removes all mouse event listeners from this object.
Removes all touch event listeners from this object.
Removes a keyboard event listener from this object.
Removes a mouse event listener from this object.
Removes a touch event listener from this object.