UNPKG

migalib

Version:

MIGAlib - MInimal GAme LIBrary

13 lines (12 loc) 295 B
import { Key } from "ts-keycode-enum"; declare class KeyboardSingleton { private keys; constructor(); init(): void; resetKey(key: Key): void; private keyDown; private keyUp; isPressed(key: Key): boolean; } export declare const Keyboard: KeyboardSingleton; export {};