From 959915d7d89e8d967124657a901dad4f28459314 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Fri, 26 Sep 2014 08:12:39 +0200 Subject: Started reordering methods in play state --- game/entities/hud.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'game/entities/hud.js') 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); -- cgit v1.2.3