Example #1
0
        public void Clone(ISWeapon weapon)
        {
            base.Clone(weapon);

            _minDamage     = weapon.MinDamage;
            _durability    = weapon.Durability;
            _maxDurability = weapon.MaxDurability;
            _prefab        = weapon.Prefab;
            equipmentSlot  = weapon.equipmentSlot;
        }
Example #2
0
 public ISWeapon(ISWeapon weapon)
 {
     Clone(weapon);
 }
Example #3
0
 public ISWeapon(ISWeapon weapon)
 {
     Clone(weapon);
 }
Example #4
0
        public void Clone(ISWeapon weapon)
        {
            base.Clone(weapon);

            _minDamage = weapon.MinDamage;
            _durability = weapon.Durability;
            _maxDurability = weapon.MaxDurability;
            _prefab = weapon.Prefab;
            equipmentSlot = weapon.equipmentSlot;
        }