private void OnAtack(string id) { int damage = DamageProviderGetter.GetDamage(id); DamagebleGetter.SetDamage(damage); }
private void OnEnemyGetHit(GameObject hitTarget, string projectileId) { int damage = DamageProviderGetter.GetDamage(projectileId); EnemmyRecieveDamageGetter.SetDamage(hitTarget, damage); }