Пример #1
0
 public void setEnabled(Type type, InventoryContainedScreen container)
 {
     this.inventoryType = type;
     enabled            = true;
     if (container != null && (type == Type.MARKET_BUY || type == Type.MARKET_SELL))
     {
         market = (EquipmentsMarket)container;
     }
     else
     {
         market = null;
     }
 }
Пример #2
0
 public void setContainerScreen(InventoryContainedScreen containerScreen, int columnsCount)
 {
     this.containerScreen = containerScreen;
     this.offsetStep      = columnsCount;
 }