Beispiel #1
0
 public void ShelfNewItem(Item item)
 {
     if (selectedButton != null)
     {
         ShelfSpace shelf = selectedButton.GetComponent <ShelfSpace> ();
         if (shelf.AvalibleSlot())
         {
             shelf.AddItem(item);
             inv.RemoveFromItems(item);
         }
     }
 }
Beispiel #2
0
 //Constructer from Area
 public Area27(string areaName, ImmutableArray <ItemType> availableWares, Station[] stations, ShelfSpace shelfSpace) : base(areaName, availableWares, stations, shelfSpace)
 {
 }