public void setLife(int life)
    {
        playerHudController.updateLife(life);

        if (life <= 0)
        {
            SetGameover(true);
        }
    }