예제 #1
0
 public ToolInventoryItem(String name, ToolType type, string iconLocation, EquipConstraint tempEquipConstraint)
     : base(name, iconLocation)
 {
     _equipConstraint = tempEquipConstraint;
     _toolType        = type;
     //Tools/Weapons cannot be stacked
     _isStackable  = false;
     _maxStackSize = 1;
     _stock        = 1;
 }
        protected float _range;//? Is this correct?

        public WeaponInventoryItem(string name, ToolType type, string iconLocation, EquipConstraint tempEquipConstraint)
            : base(name, type, iconLocation, tempEquipConstraint)
        {
        }