use of pneumaticCraft.common.remote.ActionWidgetVariable in project PneumaticCraft by MineMaarten.
the class GuiRemote method onGlobalVariableChange.
public void onGlobalVariableChange(String variable) {
widgets.clear();
initGui();
for (ActionWidget actionWidget : remoteLayout.getActionWidgets()) {
if (actionWidget instanceof ActionWidgetVariable) {
((ActionWidgetVariable) actionWidget).onVariableChange();
}
}
}
Aggregations