Add missing addKey method to Keyboard

This commit is contained in:
gareththegeek 2014-01-16 14:46:12 +00:00
parent abdaaa0010
commit ca1f24868a

3
build/phaser.d.ts vendored
View file

@ -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;
}
}
}