public void Shoot(IHPProvider target) { if (_curGun == null) { return; } _curGun.DealDamage(target); }
public override void DealDamage(IHPProvider target) { target.TakeDamage(Dmg); }
public override void DealDamage(IHPProvider target) { firstGun.DealDamage(target); secondGun.DealDamage(target); }
public abstract void DealDamage(IHPProvider target);