summaryrefslogtreecommitdiff
path: root/game/states/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'game/states/play.js')
-rw-r--r--game/states/play.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/game/states/play.js b/game/states/play.js
index 42d9a8f..5151438 100644
--- a/game/states/play.js
+++ b/game/states/play.js
@@ -257,11 +257,6 @@ Play.prototype = {
this.game.input.gamepad.start();
- this.game.orientation.onLeft.add(this.moveActivePlayer.bind(this, -1, 0), this);
- this.game.orientation.onRight.add(this.moveActivePlayer.bind(this, 1, 0), this);
- this.game.orientation.onUp.add(this.moveActivePlayer.bind(this, 0, -1), this);
- this.game.orientation.onDown.add(this.moveActivePlayer.bind(this, 0, 1), this);
-
this.game.input.keyboard.addKey(this.playerBControls.poison).onDown.add(this.togglePoisonPill.bind(this, this.playerB), this);
this.game.input.keyboard.addKey(this.playerAControls.poison).onDown.add(this.togglePoisonPill.bind(this, this.playerA), this);