Add: ESC key back(), Enter key start/restart to all features
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
function KeyboardShortcut() {
|
||||
console.log("KeyboardShortcut");
|
||||
|
||||
this.keyHandlerMapper = {};
|
||||
console.log(this.keyHandlerMapper[Phaser.KeyCode.ESC]);
|
||||
|
||||
game.input.keyboard.addCallbacks(this, this.keyDown, this.keyUp, null);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user