Keyboard.d.ts 258 B

123456789
  1. export declare class Keyboard {
  2. private _upKeys;
  3. private _downKeys;
  4. private _pressedKeys;
  5. init(): void;
  6. getKeyDown(keyCode: string): boolean;
  7. getKeyPressed(keyCode: string): boolean;
  8. getKeyUp(keyCode: string): boolean;
  9. }