Exactly. And you would then decrease it for example via hud->nLivesRemaining -= 1;
I would go a little further though and implement OnHit in your characterclass and give your character the nRemainingLives-variable. Seems a little more straightforward to me