Package-level declarations

Types

Link copied to clipboard

Manages the capture and conversion of DOM input events (mouse and keyboard) for a canvas element, converting them to Zernikalos events and enqueuing them in an event queue for synchronous processing during the game loop.

Link copied to clipboard

Adapter that converts DOM KeyboardEvent to ZKeyboardEvent.

Link copied to clipboard

Adapter that converts DOM MouseEvent to ZMouseEvent.

Link copied to clipboard
class ZEventManager(owner: ZObject)

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.

Link copied to clipboard

Event queue that accumulates user input events and processes them synchronously during the game loop frame update phase.

Link copied to clipboard

Container for all input state information, including keyboard, mouse, and touch states.

Link copied to clipboard

Handler interface for user input events, including touch, mouse, and keyboard events.