Пример #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;
        }
Пример #2
0
 public ISWeapon(ISWeapon weapon)
 {
     Clone(weapon);
 }
Пример #3
0
 public ISWeapon(ISWeapon weapon)
 {
     Clone(weapon);
 }
Пример #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;
        }