implemented receiveDamage