public void UseWeapon() { if (weapon == null) { Console.WriteLine("Weapon is not set!"); return; } weapon.UseWeapon(); }
public void Fight() { weapon.UseWeapon(); }
public void Fight() => weaponBehavior.UseWeapon();
public void UseWeapon() { weaponBehavior.UseWeapon(); }
public virtual void Fight() { WeaponBehavior.UseWeapon(); }
public void PerformWeapon() { Iweapon.UseWeapon(); }
public void WeaponInterface() { _weapon.UseWeapon(); }