public void mergeLayers(ScreenLayer from, ScreenLayer into) { if (!exists(from) || !exists(into)) { return; } into.addComponentsFrom(from); guiLayers.remove(from); }
public void mergeLayers(ScreenLayer from, ScreenLayer into) { if (!exists(from) || !exists(into)) { return; } into.addComponentsFrom(from); guiLayers.remove(from); }