/** * Gets the n-th image in this sequence, starting by 0. If the parameter is bigger than the length of the sequence or less than 0, the result is * undefined. * * @param index * The relative index in this sequence. * @return The image link to that image. */ public ImageLink getImageLink(int index) { if (index >= length || index < 0) { throw new IllegalArgumentException(); } return ImageLink.fromName(name, first + index); } }
public static ImageLink getImageFromAttributes(Attributes attributes) { ImageLink imageLink; if (attributes.getIndex("name") < 0) { imageLink = getOriginalImageLink(attributes); } else { String name = attributes.getValue("name"); int image = Integer.parseInt(attributes.getValue("image")); imageLink = ImageLink.fromName(name, image); } return imageLink; }
public DockyardSelectionLayout(jsettlers.graphics.ui.ELayoutSize __size) { { this.background = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.BuildingBackgroundPanel(); this.priority = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.PriorityButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_192", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_195", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_378", 0)); this.background.addChild(this.priority, 0.016949153f, 0.9074074f, 0.16949151f, 0.9907407f); this.buttonDockPosition = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.ASK_SET_DOCK, jsettlers.common.images.ImageLink.fromName("original_3_GUI_390", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_390", 0)); this.background.addChild(this.buttonDockPosition, 0.62711865f, 0.9074074f, 0.779661f, 0.9907407f); this.buttonMakeFerry = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.MAKE_FERRY, jsettlers.common.images.ImageLink.fromName("original_14_GUI_270", 0), jsettlers.common.images.ImageLink.fromName("original_14_GUI_273", 0)); this.background.addChild(this.buttonMakeFerry, 0.016949153f, 0.7962963f, 0.2457627f, 0.8796296f); this.buttonMakeCargoShip = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.MAKE_CARGO_SHIP, jsettlers.common.images.ImageLink.fromName("original_14_GUI_276", 0), jsettlers.common.images.ImageLink.fromName("original_14_GUI_279", 0)); this.background.addChild(this.buttonMakeCargoShip, 0.016949153f, 0.6851852f, 0.2457627f, 0.7685185f); jsettlers.graphics.ui.SimpleActionButton __1; __1 = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.ASK_DESTROY, jsettlers.common.images.ImageLink.fromName("original_3_GUI_198", 0)); this.background.addChild(__1, 0.8305085f, 0.9074074f, 0.9830508f, 0.9907407f); jsettlers.graphics.ui.SimpleActionButton __2; __2 = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.NEXT_OF_TYPE, jsettlers.common.images.ImageLink.fromName("original_3_GUI_381", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_381", 0)); this.background.addChild(__2, 0.16949153f, 0.9074074f, 0.32203388f, 0.9907407f); this.nameText = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.NamePanel(); this.background.addChild(this.nameText, 0.0f, 0.7129629f, 1.0f, 0.912037f); this.materialText = new jsettlers.graphics.ui.Label(jsettlers.graphics.localization.Labels.getString(""), go.graphics.text.EFontSize.NORMAL); this.background.addChild(this.materialText, 0.0f, 0.17592594f, 1.0f, 0.2638889f); this.materialArea = new jsettlers.graphics.ui.UIPanel(); this.background.addChild(this.materialArea, 0.0f, 0.037037045f, 1.0f, 0.1712963f); this._root = this.background; } } public <T> Collection<T> getAll(Class<T> ofType) {
public BuildingSelectionLayout(jsettlers.graphics.ui.ELayoutSize __size) { if (__size == jsettlers.graphics.ui.ELayoutSize.MEDIUM){ this.background = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.BuildingBackgroundPanel(); this.priority = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.PriorityButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_192", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_195", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_378", 0)); this.background.addChild(this.priority, 0.011049724f, 0.9074074f, 0.110497236f, 0.9907407f); this.buttonWorkRadius = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.ASK_SET_WORK_AREA, jsettlers.common.images.ImageLink.fromName("original_3_GUI_201", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_201", 0)); this.background.addChild(this.buttonWorkRadius, 0.2762431f, 0.9074074f, 0.3756906f, 0.9907407f); jsettlers.graphics.ui.SimpleActionButton __1; __1 = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.ASK_DESTROY, jsettlers.common.images.ImageLink.fromName("original_3_GUI_198", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_198", 0)); this.background.addChild(__1, 0.5414365f, 0.9074074f, 0.640884f, 0.9907407f); jsettlers.graphics.ui.SimpleActionButton __2; __2 = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.NEXT_OF_TYPE, jsettlers.common.images.ImageLink.fromName("original_3_GUI_230", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_230", 0)); this.background.addChild(__2, -0.038674034f, 1.9675926f, 0.016574584f, 2.0138888f); this.nameText = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.NamePanel(); this.priority = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.PriorityButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_192", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_195", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_378", 0)); this.background.addChild(this.priority, 0.016949153f, 0.9074074f, 0.16949151f, 0.9907407f); this.buttonWorkRadius = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.ASK_SET_WORK_AREA, jsettlers.common.images.ImageLink.fromName("original_3_GUI_201", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_201", 0)); this.background.addChild(this.buttonWorkRadius, 0.42372882f, 0.9074074f, 0.5762712f, 0.9907407f); jsettlers.graphics.ui.SimpleActionButton __3; __3 = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.ASK_DESTROY, jsettlers.common.images.ImageLink.fromName("original_3_GUI_198", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_198", 0)); this.background.addChild(__3, 0.8305085f, 0.9074074f, 0.9830508f, 0.9907407f); jsettlers.graphics.ui.SimpleActionButton __4; __4 = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.NEXT_OF_TYPE, jsettlers.common.images.ImageLink.fromName("original_3_GUI_381", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_381", 0)); this.background.addChild(__4, 0.16949153f, 0.9074074f, 0.32203388f, 0.9907407f); this.nameText = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.NamePanel();
public MaterialPriorityLayout(jsettlers.graphics.ui.ELayoutSize __size) { { jsettlers.graphics.ui.UIPanel __1; __1 = new jsettlers.graphics.ui.UIPanel(); jsettlers.graphics.ui.Label __2; __2 = new jsettlers.graphics.ui.Label(jsettlers.graphics.localization.Labels.getString("controlpanel_transportation_title"), go.graphics.text.EFontSize.NORMAL); __1.addChild(__2, 0.0f, 0.9305556f, 1.0f, 1.0f); this.panel = new jsettlers.graphics.map.controls.original.panel.content.material.priorities.MaterialPriorityContent.MaterialPriorityPanel(); __1.addChild(this.panel, 0.042372882f, 0.1574074f, 0.9576271f, 0.9212963f); this.stock_accept = new jsettlers.graphics.map.controls.original.panel.button.stock.StockChangeAcceptButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_213", 0), jsettlers.graphics.localization.Labels.getString("stock-material-global")); __1.addChild(this.stock_accept, 0.016949153f, 0.03240738f, 0.16949151f, 0.11574072f); this.stock_reject = new jsettlers.graphics.map.controls.original.panel.button.stock.StockChangeAcceptButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_216", 0), jsettlers.graphics.localization.Labels.getString("dont-stock-material-global")); __1.addChild(this.stock_reject, 0.16949153f, 0.03240738f, 0.32203388f, 0.11574072f); this.all_up = new jsettlers.graphics.map.controls.original.panel.content.material.priorities.MaterialPriorityContent.ReorderButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_219", 0), jsettlers.graphics.localization.Labels.getString("priority-to-top")); __1.addChild(this.all_up, 0.37288135f, 0.03240738f, 0.5254237f, 0.11574072f); this.one_up = new jsettlers.graphics.map.controls.original.panel.content.material.priorities.MaterialPriorityContent.ReorderButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_225", 0), jsettlers.graphics.localization.Labels.getString("priority-one-up")); __1.addChild(this.one_up, 0.5254237f, 0.03240738f, 0.67796606f, 0.11574072f); this.one_down = new jsettlers.graphics.map.controls.original.panel.content.material.priorities.MaterialPriorityContent.ReorderButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_228", 0), jsettlers.graphics.localization.Labels.getString("priority-one-down")); __1.addChild(this.one_down, 0.6779661f, 0.03240738f, 0.8305085f, 0.11574072f); this.all_down = new jsettlers.graphics.map.controls.original.panel.content.material.priorities.MaterialPriorityContent.ReorderButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_222", 0), jsettlers.graphics.localization.Labels.getString("priority-to-bottom")); __1.addChild(this.all_down, 0.8305085f, 0.03240738f, 0.9830508f, 0.11574072f); this._root = __1; } } public <T> Collection<T> getAll(Class<T> ofType) {
__1.addChild(__2, 0.0f, 0.9305556f, 1.0f, 1.0f); jsettlers.graphics.ui.Button __3; __3 = new jsettlers.graphics.ui.Button(jsettlers.common.images.ImageLink.fromName("original_3_GUI_393", 0), jsettlers.graphics.localization.Labels.getString("settler_stats_bed")); __1.addChild(__3, 0.084745765f, 0.837963f, 0.23728813f, 0.9212963f); jsettlers.graphics.map.controls.original.panel.content.settlers.statistics.SettlersStatisticsPanel.NamedLabel __4; __1.addChild(__4, 0.084745765f, 0.80092597f, 0.23728813f, 0.837963f); jsettlers.graphics.ui.Button __5; __5 = new jsettlers.graphics.ui.Button(jsettlers.common.images.ImageLink.fromName("original_3_GUI_126", 0), jsettlers.graphics.localization.Labels.getString("settler_stats_civilian")); __1.addChild(__5, 0.29661018f, 0.837963f, 0.44915253f, 0.9212963f); jsettlers.graphics.map.controls.original.panel.content.settlers.statistics.SettlersStatisticsPanel.NamedLabel __6; __1.addChild(__7, 0.5338983f, 0.875f, 0.68644065f, 0.9027778f); jsettlers.graphics.ui.Button __8; __8 = new jsettlers.graphics.ui.Button(jsettlers.common.images.ImageLink.fromName("original_3_GUI_3", 0)); __1.addChild(__8, 0.5338983f, 0.8101852f, 0.68644065f, 0.8564815f); jsettlers.graphics.ui.Button __9; __9 = new jsettlers.graphics.ui.Button(jsettlers.common.images.ImageLink.fromName("original_44_GUI_120", 0), jsettlers.graphics.localization.Labels.getString("settler_stats_soldier")); __1.addChild(__9, 0.7881356f, 0.837963f, 0.94067794f, 0.9212963f); jsettlers.graphics.map.controls.original.panel.content.settlers.statistics.SettlersStatisticsPanel.NamedLabel __10; __1.addChild(__10, 0.7881356f, 0.80092597f, 0.94067794f, 0.837963f); jsettlers.graphics.ui.Button __11; __11 = new jsettlers.graphics.ui.Button(jsettlers.common.images.ImageLink.fromName("original_14_GUI_138", 0), jsettlers.graphics.localization.Labels.getString("movable_BEARER")); __1.addChild(__11, 0.033898305f, 0.5694444f, 0.22033899f, 0.7361111f); jsettlers.graphics.map.controls.original.panel.content.settlers.statistics.SettlersStatisticsPanel.NamedLabel __12; __1.addChild(__12, 0.033898305f, 0.5324074f, 0.22033899f, 0.5694444f); jsettlers.graphics.ui.Button __13;
__1.addChild(__2, 0.0f, 0.9305556f, 1.0f, 1.0f); jsettlers.graphics.ui.Button __3; __3 = new jsettlers.graphics.ui.Button(jsettlers.common.images.ImageLink.fromName("original_3_GUI_393", 0), jsettlers.graphics.localization.Labels.getString("settler_stats_bed")); __1.addChild(__3, 0.084745765f, 0.837963f, 0.23728813f, 0.9212963f); jsettlers.graphics.map.controls.original.panel.content.settlers.statistics.SettlersStatisticsPanel.NamedLabel __4; __1.addChild(__4, 0.084745765f, 0.80092597f, 0.23728813f, 0.837963f); jsettlers.graphics.ui.Button __5; __5 = new jsettlers.graphics.ui.Button(jsettlers.common.images.ImageLink.fromName("original_3_GUI_126", 0), jsettlers.graphics.localization.Labels.getString("settler_stats_civilian")); __1.addChild(__5, 0.29661018f, 0.837963f, 0.44915253f, 0.9212963f); jsettlers.graphics.map.controls.original.panel.content.settlers.statistics.SettlersStatisticsPanel.NamedLabel __6; __1.addChild(__7, 0.5338983f, 0.875f, 0.68644065f, 0.9027778f); jsettlers.graphics.ui.Button __8; __8 = new jsettlers.graphics.ui.Button(jsettlers.common.images.ImageLink.fromName("original_3_GUI_3", 0)); __1.addChild(__8, 0.5338983f, 0.8101852f, 0.68644065f, 0.8564815f); jsettlers.graphics.ui.Button __9; __9 = new jsettlers.graphics.ui.Button(jsettlers.common.images.ImageLink.fromName("original_44_GUI_120", 0), jsettlers.graphics.localization.Labels.getString("settler_stats_soldier")); __1.addChild(__9, 0.7881356f, 0.837963f, 0.94067794f, 0.9212963f); jsettlers.graphics.map.controls.original.panel.content.settlers.statistics.SettlersStatisticsPanel.NamedLabel __10; __1.addChild(__10, 0.7881356f, 0.80092597f, 0.94067794f, 0.837963f); jsettlers.graphics.ui.Button __11; __11 = new jsettlers.graphics.ui.Button(jsettlers.common.images.ImageLink.fromName("original_44_GUI_135", 0), jsettlers.graphics.localization.Labels.getString("movable_BEARER")); __1.addChild(__11, 0.033898305f, 0.5694444f, 0.22033899f, 0.7361111f); jsettlers.graphics.map.controls.original.panel.content.settlers.statistics.SettlersStatisticsPanel.NamedLabel __12; __1.addChild(__12, 0.033898305f, 0.5324074f, 0.22033899f, 0.5694444f); jsettlers.graphics.ui.Button __13;
__1 = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.ASK_DESTROY, jsettlers.common.images.ImageLink.fromName("original_3_GUI_198", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_198", 0)); this.background.addChild(__1, 0.8305085f, 0.9074074f, 0.9830508f, 0.9907407f); jsettlers.graphics.ui.SimpleActionButton __2; __2 = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.NEXT_OF_TYPE, jsettlers.common.images.ImageLink.fromName("original_3_GUI_381", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_381", 0)); this.background.addChild(__2, 0.016949153f, 0.9074074f, 0.16949151f, 0.9907407f); this.nameText = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.NamePanel(); this.background.addChild(this.bowman_missing, 0.3220339f, 0.7546296f, 1.2881356f, 0.9212963f); jsettlers.graphics.ui.SimpleActionButton __27; __27 = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.SOLDIERS_ALL, jsettlers.common.images.ImageLink.fromName("original_3_GUI_39", 0)); this.background.addChild(__27, 0.042372882f, 0.19907406f, 0.19491525f, 0.2824074f); jsettlers.graphics.ui.SimpleActionButton __28; __28 = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.SOLDIERS_ONE, jsettlers.common.images.ImageLink.fromName("original_3_GUI_42", 0)); this.background.addChild(__28, 0.042372882f, 0.03240738f, 0.19491525f, 0.11574072f); jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.SoldierButton __29; __29 = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.SoldierButton(jsettlers.common.action.EActionType.SOLDIERS_MORE, jsettlers.common.movable.ESoldierType.SWORDSMAN, jsettlers.common.images.ImageLink.fromName("original_3_GUI_27", 0)); this.background.addChild(__29, 0.2881356f, 0.19907406f, 0.44067794f, 0.2824074f); jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.SoldierCount __30; this.background.addChild(__30, 0.2881356f, 0.11574075f, 0.44067794f, 0.19907409f); jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.SoldierButton __31; __31 = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.SoldierButton(jsettlers.common.action.EActionType.SOLDIERS_LESS, jsettlers.common.movable.ESoldierType.SWORDSMAN, jsettlers.common.images.ImageLink.fromName("original_3_GUI_36", 0)); this.background.addChild(__31, 0.2881356f, 0.03240738f, 0.44067794f, 0.11574072f); jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.SoldierButton __32; __32 = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.SoldierButton(jsettlers.common.action.EActionType.SOLDIERS_MORE, jsettlers.common.movable.ESoldierType.BOWMAN, jsettlers.common.images.ImageLink.fromName("original_3_GUI_21", 0)); this.background.addChild(__32, 0.5423729f, 0.19907406f, 0.69491524f, 0.2824074f); jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.SoldierCount __33; this.background.addChild(__33, 0.5423729f, 0.11574075f, 0.69491524f, 0.19907409f);
public StockSelectionLayout(jsettlers.graphics.ui.ELayoutSize __size) { this.priority = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.PriorityButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_192", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_195", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_378", 0)); this.background.addChild(this.priority, 0.016949153f, 0.9074074f, 0.16949151f, 0.9907407f); jsettlers.graphics.ui.SimpleActionButton __1; __1 = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.ASK_DESTROY, jsettlers.common.images.ImageLink.fromName("original_3_GUI_198", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_198", 0)); this.background.addChild(__1, 0.8305085f, 0.9074074f, 0.9830508f, 0.9907407f); this.nameText = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.NamePanel(); __27 = new jsettlers.graphics.map.controls.original.panel.button.stock.StockControlButton(jsettlers.common.material.EMaterialType.GOLD); this.background.addChild(__27, 0.19491525f, 0.18055555f, 0.34745762f, 0.2638889f); this.stock_accept = new jsettlers.graphics.map.controls.original.panel.button.stock.StockChangeAcceptButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_213", 0), jsettlers.graphics.localization.Labels.getString("stock-material-local")); this.background.addChild(this.stock_accept, 0.016949153f, 0.03240738f, 0.16949151f, 0.11574072f); this.stock_reject = new jsettlers.graphics.map.controls.original.panel.button.stock.StockChangeAcceptButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_216", 0), jsettlers.graphics.localization.Labels.getString("dont-stock-material-local")); this.background.addChild(this.stock_reject, 0.16949153f, 0.03240738f, 0.32203388f, 0.11574072f); this._root = this.background;
this.priority = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.PriorityButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_192", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_195", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_378", 0)); this.background.addChild(this.priority, 0.016949153f, 0.9074074f, 0.16949151f, 0.9907407f); jsettlers.graphics.ui.SimpleActionButton __1; __1 = new jsettlers.graphics.ui.SimpleActionButton(jsettlers.common.action.EActionType.ASK_DESTROY, jsettlers.common.images.ImageLink.fromName("original_3_GUI_198", 0), jsettlers.common.images.ImageLink.fromName("original_3_GUI_198", 0)); this.background.addChild(__1, 0.8305085f, 0.9074074f, 0.9830508f, 0.9907407f); this.nameText = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.NamePanel(); this.background.addChild(this.nameText, 0.0f, 0.9398148f, 1.0f, 1.0f); this.landTradingPath = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.LandTradingPath(jsettlers.common.images.ImageLink.fromName("original_3_GUI_372", 0)); this.background.addChild(this.landTradingPath, 0.09322034f, 0.8518518f, 0.8983051f, 0.9074074f); this.seaTradingPath = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.SeaTradingPath(jsettlers.common.images.ImageLink.fromName("original_3_GUI_375", 0)); this.background.addChild(this.seaTradingPath, 0.09322034f, 0.8518518f, 0.8983051f, 0.9074074f); jsettlers.graphics.map.controls.original.panel.button.SelectionManagedMaterialButton __2; __53 = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.TradingMaterialCount(jsettlers.common.material.EMaterialType.WINE); this.background.addChild(__53, 0.19491525f, 0.22222221f, 0.34745762f, 0.2546296f); this.tradeAll = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.TradingButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_384", 0), jsettlers.graphics.localization.Labels.getString("")); this.background.addChild(this.tradeAll, 0.016949153f, 0.03240738f, 0.16949151f, 0.11574072f); this.tradeNone = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.TradingButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_387", 0), jsettlers.graphics.localization.Labels.getString("")); this.background.addChild(this.tradeNone, 0.16949153f, 0.03240738f, 0.32203388f, 0.11574072f); this.tradeMore5 = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.TradingButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_219", 0), jsettlers.graphics.localization.Labels.getString("")); this.background.addChild(this.tradeMore5, 0.37288135f, 0.03240738f, 0.5254237f, 0.11574072f); this.tradeMore = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.TradingButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_225", 0), jsettlers.graphics.localization.Labels.getString("")); this.background.addChild(this.tradeMore, 0.5254237f, 0.03240738f, 0.67796606f, 0.11574072f); this.tradeLess = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.TradingButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_228", 0), jsettlers.graphics.localization.Labels.getString("")); this.background.addChild(this.tradeLess, 0.6779661f, 0.03240738f, 0.8305085f, 0.11574072f); this.tradeLess5 = new jsettlers.graphics.map.controls.original.panel.selection.BuildingSelectionContent.TradingButton(jsettlers.common.images.ImageLink.fromName("original_3_GUI_222", 0), jsettlers.graphics.localization.Labels.getString("")); this.background.addChild(this.tradeLess5, 0.8305085f, 0.03240738f, 0.9830508f, 0.11574072f); this._root = this.background;