juno-console
Version:
Juno is a clean and lightweight 2D game framework written in TypeScript for making tiny HTML5 Games.
22 lines (20 loc) • 558 B
text/typescript
/**
* @author Digitsensitive <digit.sensitivee@gmail.com>
* @copyright 2018 Digitsensitive
* @description Juno: Game Config Interface
* @license {@link https://github.com/digitsensitive/juno-console/blob/master/license.txt|MIT License}
*/
export interface IGameConfig {
name: string;
scale: number;
input?: { keyboard?: boolean; mouse?: boolean };
width?: number;
height?: number;
fullscreen?: boolean;
css?: {
borderWidth?: string;
borderStyle?: string;
borderColor?: string;
borderRadius?: string;
};
}