Esempio n. 1
0
 public static void AddItem(Item item)
 {
     //For now, only sorting by slot
     if (!_instance._categories.ContainsKey(item.Slot.ToString()))
     {
         _instance.AddCategory(item.Slot.ToString());
     }
     _instance._categories[item.Slot.ToString()].AddBox(item);
 }