cleanup
dstuck 2025-06-25 05:33:58 +02:00
parent 043e8b5090
commit 101b5e7d19
1 changed files with 47 additions and 51 deletions

View File

@ -222,7 +222,6 @@ public class SpielFrame extends JFrame {
// logger.info("Helles Feld erstellt." + i);
b.setBackground(new Color(90, 90, 90));
} else {
// logger.info("Dunkles Feld erstellt." + i);
b.setBackground(new Color(65, 65, 65));
@ -242,8 +241,6 @@ public class SpielFrame extends JFrame {
}
}
char buchstabe = 'a';
for (int j = 0; j < 8; j++) {
JButton button = buttons.get(mirrowedGrid(j));
@ -261,6 +258,7 @@ public class SpielFrame extends JFrame {
}
}
/**
* Sets the to default buttons
*/
@ -322,11 +320,9 @@ public class SpielFrame extends JFrame {
break;
case finished:
clearButtons();
break;
case gameEnd:
break;
default: