fix merge conflict

cleanup
dstuck 2025-06-25 04:11:06 +02:00
parent 100cf4712c
commit 73768473e1
1 changed files with 47 additions and 87 deletions

View File

@ -228,7 +228,7 @@ public class SpielFrame extends JFrame {
/* /*
* Switches the button actions depending on the boardmode * Switches the button actions depending on the boardmode
*/ */
private void setButtonsActions() { public void setButtonsActions() {
List<Square> selectables; List<Square> selectables;
@ -294,7 +294,7 @@ public class SpielFrame extends JFrame {
ausgabe.setFont(new Font("Calibri", Font.BOLD, 40)); ausgabe.setFont(new Font("Calibri", Font.BOLD, 40));
ausgabe.setForeground(new Color(178, 34, 34)); ausgabe.setForeground(new Color(178, 34, 34));
ausgabe.setText(" "+res); ausgabe.setText(" " + res);
} }
@ -632,44 +632,4 @@ public class SpielFrame extends JFrame {
this.aufgeben2 = aufgeben2; this.aufgeben2 = aufgeben2;
} }
public void setMode(BoardMode mode) {
this.mode = mode;
}
/**
* Inverts the Enabled property of the controlpanelButtons
*/
public void enableControlPanelButtons() {
for (Component c : this.controlPanel.getComponents()) {
if (c instanceof JButton) {
c.setEnabled(!c.isEnabled());
}
}
}
/**
* Adds the buttons to the boardpanel
*/
public void applyBoardButtons() {
for (JButton b : buttons) {
panelLinks.add(b);
}
}
public JButton getAufgeben() {
return aufgeben;
}
public void setAufgeben(JButton aufgeben) {
this.aufgeben = aufgeben;
}
public JButton getAufgeben2() {
return aufgeben2;
}
public void setAufgeben2(JButton aufgeben2) {
this.aufgeben2 = aufgeben2;
}
} }