public void loseLife()
    {
        if(!Game.getInstance().getGodMode()){
            if (Game.getInstance().getGameTime() < nextHurt){
		return;
            }
            setLives(getLives() - 1);
            new AePlayWave("se_pldead00.wav").start();
            
            /* Add respawn protection to prevent dieing multiple times rapidly. */
            nextHurt = Game.getInstance().getGameTime() + 3000;
            spriteSleep = true;
            setImage("sprites/reimuempty.png");
            if (getLives() <= 0)
            {
                Game.getInstance().addEntity(new FullPower((int) x, (int) y));
            }
            for(int i = 0; i < 10; i++)
            {
                if(power >= 25 && i == 0)
                {
                    Game.getInstance().addEntity(new BigPowerUp((int) x, (int) y));
                    power -= 25;
                    i += 4;
                }
                
                else if(power >= 5)
                {
                    Game.getInstance().addEntity(new SmallPowerUp((int) x, (int) y));
                    power -= 5;
                }
                
                else
                {
                    break;
                }
            }
            x = Game.GAME_WIDTH / 2;
            y = Game.GAME_HEIGHT - (Game.GAME_HEIGHT / 10);
        }
    }