use of me.desht.pneumaticcraft.common.progwidgets.ProgWidgetDropItem in project pnc-repressurized by TeamPneumatic.
the class GuiProgWidgetDropItem method initGui.
@Override
public void initGui() {
super.initGui();
List<GuiRadioButton> radioButtons = new ArrayList<>();
GuiRadioButton radioButton = new GuiRadioButton(7, guiLeft + 4, guiTop + 80, 0xFF404040, "Random");
radioButton.checked = !((ProgWidgetDropItem) widget).dropStraight();
addWidget(radioButton);
radioButtons.add(radioButton);
radioButton.otherChoices = radioButtons;
GuiRadioButton radioButton2 = new GuiRadioButton(8, guiLeft + 4, guiTop + 94, 0xFF404040, "Straight");
radioButton2.checked = ((ProgWidgetDropItem) widget).dropStraight();
addWidget(radioButton2);
radioButtons.add(radioButton2);
radioButton2.otherChoices = radioButtons;
}
Aggregations