summaryrefslogtreecommitdiff
path: root/game/states/play.js
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2014-09-24 17:20:56 +0200
committerJustin Worthe <justin.worthe@gmail.com>2014-09-24 17:20:56 +0200
commit17ebd1e3857d47ad5fd94e40283ecd468dd83739 (patch)
tree6e65cf51bc9411af4c2d77a274838cebd32df85c /game/states/play.js
parent1eabe62fcf61001a10b1965da0cf3a4ae741a25b (diff)
Moved common game entity code into parent class
Diffstat (limited to 'game/states/play.js')
-rw-r--r--game/states/play.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/states/play.js b/game/states/play.js
index d872c71..cabe9cf 100644
--- a/game/states/play.js
+++ b/game/states/play.js
@@ -183,11 +183,11 @@ Play.prototype = {
this.pills.add(new BonusPill(this.game, x, y));
break;
case 'A':
- this.playerA = new Player(this.game, x, y, 'player-a', 0, 'omSound');
+ this.playerA = new Player(this.game, x, y, 'player-a', 'omSound');
this.players.add(this.playerA);
break;
case 'B':
- this.playerB = new Player(this.game, x, y, 'player-b', 0, 'nomSound');
+ this.playerB = new Player(this.game, x, y, 'player-b', 'nomSound');
this.players.add(this.playerB);
break;
case '|':