The PointerEventProcessor is responsible for collecting all the events from the canvas and transforming them into GlobalCoordinates
Direct access to the game object event dispatcher.
Locates a specific pointer by id, creates it if it doesn't exist
Clears the current frame event and pointer data
The number of pointers currently being tracked by excalibur
Emits a new event
Name of the event to emit
Data associated with this event
Initializes the pointer event receiver so that it can start listening to native browser events.
Is the specified pointer id down this frame
Whether the Pointer just ended dragging.
Whether the Pointer just started dragging.
Whether the Pointer is currently dragging.
removeEventListener. If only the eventName is specified
it will remove all handlers registered for that specific event. If the eventName
and the handler instance are specified only that handler will be removed.
addEventListener. You can listen for a variety of
events off of the engine; see the events section below for a complete list.
Once listens to an event one time, then unsubscribes from that event
Triggers an excalibur pointer event in a world space pos
Useful for testing pointers in excalibur
Called internally by excalibur
Updates the current frame pointer info and emits raw pointer events
This does not emit events to entities, see PointerSystem
Was the specified pointer id down last frame