boss lives: refactored hurtPlayer to hurtCharacter that takes in parameters to which character to hurt and which live sprite to update