Define SetOwner method in the AbstractGun class