summaryrefslogtreecommitdiff
path: root/game/entities/hud.js
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2014-09-26 08:12:39 +0200
committerJustin Worthe <justin.worthe@gmail.com>2014-09-26 08:12:39 +0200
commit959915d7d89e8d967124657a901dad4f28459314 (patch)
treeef0cb8b74bf4be79ad4bcc0e93e6e008a3a14e5b /game/entities/hud.js
parent17ebd1e3857d47ad5fd94e40283ecd468dd83739 (diff)
Started reordering methods in play state
Diffstat (limited to 'game/entities/hud.js')
-rw-r--r--game/entities/hud.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/game/entities/hud.js b/game/entities/hud.js
index a7b39a0..43e7a21 100644
--- a/game/entities/hud.js
+++ b/game/entities/hud.js
@@ -7,14 +7,12 @@ var Hud = function(game, player, x, y, scorefontKey, keyboardSpriteKey) {
this.player = player;
this.scale = {x: 0.02, y: 0.02};
-
this.background = new Phaser.Sprite(this.game, 0, 0, 'hud-bg');
this.add(this.background);
this.scoreText = new Phaser.BitmapText(this.game, 172, 10, scorefontKey, '0', 100);
this.add(this.scoreText);
this.poisonIndicator = new Phaser.Sprite(this.game, 200, 150, 'poison-pill');
- //this.poisonIndicator.scale = {0.1, 0.1};
this.poisonIndicator.anchor = {x:0.5, y:0.5};
this.add(this.poisonIndicator);