juno-console
Version:
Juno is a clean and lightweight 2D game framework written in TypeScript for making tiny HTML5 Games.
16 lines (14 loc) • 446 B
text/typescript
/**
* @author Digitsensitive <digit.sensitivee@gmail.com>
* @copyright 2018 Digitsensitive
* @description Juno: Canvas Renderer Interface
* @license {@link https://github.com/digitsensitive/juno-console/blob/master/license.txt|MIT License}
*/
export interface ICanvasRenderer {
canvas: HTMLCanvasElement;
renderer: any;
options?: {
scaleFactor?: number;
inputs?: { keyboard?: boolean; mouse?: boolean };
};
}