UNPKG

@theatrejs/theatrejs

Version:

🎮 A JavaScript 2D Game Engine focused on creating pixel art games.

376 lines (335 loc) • 6.39 kB
/** * The STANDARD-based keyboard 'DIGIT_0' event code. * @type {'Digit0'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const DIGIT_0 = 'Digit0'; /** * The STANDARD-based keyboard 'DIGIT_1' event code. * @type {'Digit1'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const DIGIT_1 = 'Digit1'; /** * The STANDARD-based keyboard 'DIGIT_2' event code. * @type {'Digit2'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const DIGIT_2 = 'Digit2'; /** * The STANDARD-based keyboard 'DIGIT_3' event code. * @type {'Digit3'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const DIGIT_3 = 'Digit3'; /** * The STANDARD-based keyboard 'DIGIT_4' event code. * @type {'Digit4'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const DIGIT_4 = 'Digit4'; /** * The STANDARD-based keyboard 'DIGIT_5' event code. * @type {'Digit5'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const DIGIT_5 = 'Digit5'; /** * The STANDARD-based keyboard 'DIGIT_6' event code. * @type {'Digit6'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const DIGIT_6 = 'Digit6'; /** * The STANDARD-based keyboard 'DIGIT_7' event code. * @type {'Digit7'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const DIGIT_7 = 'Digit7'; /** * The STANDARD-based keyboard 'DIGIT_8' event code. * @type {'Digit8'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const DIGIT_8 = 'Digit8'; /** * The STANDARD-based keyboard 'DIGIT_9' event code. * @type {'Digit9'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const DIGIT_9 = 'Digit9'; /** * The STANDARD-based keyboard 'A' event code. * @type {'KeyA'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const A = 'KeyA'; /** * The STANDARD-based keyboard 'B' event code. * @type {'KeyB'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const B = 'KeyB'; /** * The STANDARD-based keyboard 'C' event code. * @type {'KeyC'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const C = 'KeyC'; /** * The STANDARD-based keyboard 'D' event code. * @type {'KeyD'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const D = 'KeyD'; /** * The STANDARD-based keyboard 'E' event code. * @type {'KeyE'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const E = 'KeyE'; /** * The STANDARD-based keyboard 'F' event code. * @type {'KeyF'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const F = 'KeyF'; /** * The STANDARD-based keyboard 'G' event code. * @type {'KeyG'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const G = 'KeyG'; /** * The STANDARD-based keyboard 'H' event code. * @type {'KeyH'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const H = 'KeyH'; /** * The STANDARD-based keyboard 'I' event code. * @type {'KeyI'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const I = 'KeyI'; /** * The STANDARD-based keyboard 'J' event code. * @type {'KeyJ'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const J = 'KeyJ'; /** * The STANDARD-based keyboard 'K' event code. * @type {'KeyK'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const K = 'KeyK'; /** * The STANDARD-based keyboard 'L' event code. * @type {'KeyL'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const L = 'KeyL'; /** * The STANDARD-based keyboard 'M' event code. * @type {'KeyM'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const M = 'KeyM'; /** * The STANDARD-based keyboard 'N' event code. * @type {'KeyN'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const N = 'KeyN'; /** * The STANDARD-based keyboard 'O' event code. * @type {'KeyO'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const O = 'KeyO'; /** * The STANDARD-based keyboard 'P' event code. * @type {'KeyP'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const P = 'KeyP'; /** * The STANDARD-based keyboard 'Q' event code. * @type {'KeyQ'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const Q = 'KeyQ'; /** * The STANDARD-based keyboard 'R' event code. * @type {'KeyR'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const R = 'KeyR'; /** * The STANDARD-based keyboard 'S' event code. * @type {'KeyS'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const S = 'KeyS'; /** * The STANDARD-based keyboard 'T' event code. * @type {'KeyT'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const T = 'KeyT'; /** * The STANDARD-based keyboard 'U' event code. * @type {'KeyU'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const U = 'KeyU'; /** * The STANDARD-based keyboard 'V' event code. * @type {'KeyV'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const V = 'KeyV'; /** * The STANDARD-based keyboard 'W' event code. * @type {'KeyW'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const W = 'KeyW'; /** * The STANDARD-based keyboard 'X' event code. * @type {'KeyX'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const X = 'KeyX'; /** * The STANDARD-based keyboard 'Y' event code. * @type {'KeyY'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const Y = 'KeyY'; /** * The STANDARD-based keyboard 'Z' event code. * @type {'KeyZ'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const Z = 'KeyZ'; /** * The STANDARD-based keyboard 'SPACE' event code. * @type {'Space'} * @constant * * @memberof module:EVENT_CODES/KEYBOARDS/STANDARD */ const SPACE = 'Space'; export { DIGIT_0, DIGIT_1, DIGIT_2, DIGIT_3, DIGIT_4, DIGIT_5, DIGIT_6, DIGIT_7, DIGIT_8, DIGIT_9, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, SPACE };