mini Anpassungen
This commit is contained in:
parent
42fc341608
commit
0b2ee88316
|
@ -42,6 +42,7 @@ public class BoardDisplay extends JPanel {
|
|||
* Konstruktor der startLocalGame.
|
||||
* @param gridSize Die Größe des Spielfelds
|
||||
* @param player Der Spieler
|
||||
* @author Lucas Bronson
|
||||
*/
|
||||
public BoardDisplay(int gridSize, Player player, boolean enemyBoard) {
|
||||
super(new GridLayout(gridSize + 1, gridSize + 1)); // +1 wegen extra Zeile/Spalte
|
||||
|
|
|
@ -50,7 +50,7 @@ public class WinScreen extends JPanel {
|
|||
timer.start(); // Timer starten
|
||||
winLabel.setFont(robotoFont);
|
||||
winLabel.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
//okButton.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
//Zurückkehren zum Hauptmenü, wenn okButton gedrückt wird
|
||||
okButton.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
|
|
Loading…
Reference in New Issue