From 373e5f472f829714939103617cfe14e98d981b18 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sun, 21 Sep 2014 08:00:06 +0200 Subject: Removed unused states and templating of main.js --- game/states/play.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'game/states/play.js') 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); -- cgit v1.2.3