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; } }
public void setContainerScreen(InventoryContainedScreen containerScreen, int columnsCount) { this.containerScreen = containerScreen; this.offsetStep = columnsCount; }