summaryrefslogtreecommitdiff
path: root/game/states/play.js
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2014-09-21 08:00:06 +0200
committerJustin Worthe <justin.worthe@gmail.com>2014-09-21 08:00:06 +0200
commit373e5f472f829714939103617cfe14e98d981b18 (patch)
tree4fa9bf8609537bad5b12a7e51915f4a07dee2873 /game/states/play.js
parent8c70582bf01821f8a71910013372e3b12f06cdd3 (diff)
Removed unused states and templating of main.js
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);