Exemple #1
0
 public ISWeapon(int durability, int maxdurability, ISEquipmentSlot equipmentSlot, GameObject prefab)
 {
     _durability    = durability;
     _maxDurability = maxdurability;
     _equipmentSlot = equipmentSlot;
     _prefab        = prefab;
 }
Exemple #2
0
 //Constructor
 public ISWeapon()
 {
     _equipmentSlot = new ISEquipmentSlot();
     //_prefab = new GameObject();
 }