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.

11 lines (10 loc) 280 B
/** * A 1 dimensional projection on an axis, used to test overlaps */ export declare class Projection { min: number; max: number; constructor(min: number, max: number); overlaps(projection: Projection): boolean; getOverlap(projection: Projection): number; }