mirror of
https://github.com/photonstorm/phaser
synced 2024-11-11 07:34:43 +00:00
Add missing addKey method to Keyboard
This commit is contained in:
parent
abdaaa0010
commit
ca1f24868a
1 changed files with 2 additions and 1 deletions
3
build/phaser.d.ts
vendored
3
build/phaser.d.ts
vendored
|
@ -507,6 +507,7 @@ declare module Phaser {
|
|||
static NUM_LOCK: number;
|
||||
start(): void;
|
||||
stop(): void;
|
||||
addKey(keycode: number): Phaser.Key;
|
||||
addKeyCapture(keycode: any): void;
|
||||
removeKeyCapture(keycode: number): void;
|
||||
clearCaptures(): void;
|
||||
|
@ -1967,4 +1968,4 @@ declare module Phaser {
|
|||
game: Phaser.Game;
|
||||
render(tilemap: Tilemap): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue