Merge pull request #316 from gareththegeek/patch-2

Add missing addKey method to Keyboard
This commit is contained in:
Richard Davey
2014-01-16 07:28:17 -08:00
+1
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;