public override void AddItemToInventory(Collider2D player, int value) { playerHealth = player.GetComponent<Health>(); playerHealth.replenish(value); }