Example #1
0
    /// <summary>
    /// AddSlot Class: Used to populate the slotList of the tool
    /// </summary>
    protected void AddSlot(Slot.inputType _inputType, Slot.slotType _subtype)
    {
        // Add a slot to the tool
        Slot newSlot = new Slot(_inputType, _subtype); // create a new slot object

        slotList.Add(newSlot, false);                  // add to slot list (false means empty)
    }
Example #2
0
 public Mods(Slot.slotType _subtype, string _type, List <string> _effect) : base(_type, _effect)
 {
     this.subtype = _subtype;
     modKey       = _type + "," + _subtype;
 }