UNPKG

juno-console

Version:

Juno is a clean and lightweight 2D game framework written in TypeScript for making tiny HTML5 Games.

20 lines (19 loc) 657 B
"use strict"; /** * @author Digitsensitive <digit.sensitivee@gmail.com> * @copyright 2018 Digitsensitive * @description Juno: KEY Enum * @license {@link https://github.com/digitsensitive/juno-console/blob/master/license.txt|MIT License} */ Object.defineProperty(exports, "__esModule", { value: true }); var KEY; (function (KEY) { KEY[KEY["UP"] = 38] = "UP"; KEY[KEY["DOWN"] = 40] = "DOWN"; KEY[KEY["LEFT"] = 37] = "LEFT"; KEY[KEY["RIGHT"] = 39] = "RIGHT"; KEY[KEY["A"] = 65] = "A"; KEY[KEY["B"] = 66] = "B"; KEY[KEY["X"] = 88] = "X"; KEY[KEY["Z"] = 89] = "Z"; })(KEY = exports.KEY || (exports.KEY = {}));