예제 #1
0
 public void BuyButton()
 {
     if (resourceIsForSale != false)
     {
         dockSystem.ChangeSaleStatus(chosenResourceID, false);
         ChangeSellStatus(false);
     }
     else
     {
         dockSystem.ChangeSaleStatus(chosenResourceID, null);
         ChangeSellStatus(null);
     }
 }
예제 #2
0
 public void RemoveTradeOperation(int resourceID)
 {
     dockSystem.ChangeSaleStatus(resourceID, null);
     RefreshTradeOperationsList();
 }