public virtual void ProcessAttack(AttackData attackData) { IDamageReceiver damageReceiver = attackData.target as IDamageReceiver; damageReceiver.OnDamage(attackData); }
public void SetAttackData(AttackData data) { attackData = data; }