public void OnDamageRecieved(IDamagePayload _payload) { CurrendPayload = _payload; HasRecievedDamage = true; }
public void RecieveDamagePayload(IDamagePayload _payload) { CurrentHealth -= (int)_payload.GetDamage(); CheckifDead(); UpdateHealth(); }
public void RecieveDamagePayload(IDamagePayload _payload) { MaxStunTime = _payload.GetStunTime(); }