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

            _durability    = weapon.Durability;
            _maxDurability = weapon.MaxDurability;
            equipmentSlot  = weapon.equipmentSlot;
            _prefab        = weapon.Prefab;
        }
Exemple #2
0
		public void Clone( ISWeapon weapon)
		{
			base.Clone(weapon);

			_durability = weapon.Durability;
			_maxDurability = weapon.MaxDurability;
			equipmentSlot = weapon.equipmentSlot;
			_prefab = weapon.Prefab;
		}
Exemple #3
0
 public ISWeapon(ISWeapon weapon)
 {
     Clone(weapon);
 }
Exemple #4
0
		public ISWeapon(ISWeapon weapon)
		{
			Clone( weapon);
		}