UNPKG

excalibur

Version:

Excalibur.js is a simple JavaScript game engine with TypeScript bindings for making 2D games in HTML5 Canvas. Our mission is to make web game development as simple as possible.

15 lines (14 loc) 388 B
/** * Determines the scope of handling mouse/touch events. */ export declare enum PointerScope { /** * Handle events on the `canvas` element only. Events originating outside the * `canvas` will not be handled. */ Canvas = "Canvas", /** * Handles events on the entire document. All events will be handled by Excalibur. */ Document = "Document" }