summaryrefslogtreecommitdiff
path: root/game/entities/hud.js
diff options
context:
space:
mode:
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);