Browse Source

4gewinnt: fixed GuiTest because of new parameterized constructor

4gewinnt
Malte Schellhardt 3 years ago
committed by Lorenz Hohmann
parent
commit
1c7f4a513e
  1. 2
      src/main/java/de/tims/viergewinnt/ai/GuiTest.java

2
src/main/java/de/tims/viergewinnt/ai/GuiTest.java

@ -8,7 +8,7 @@ public class GuiTest {
public GuiTest() { public GuiTest() {
frame = new JFrame(); frame = new JFrame();
frame.setSize(500, 500); frame.setSize(500, 500);
Logic logic = new Logic();
Logic logic = new Logic(6);
frame.add(logic.create4gewinntGui()); frame.add(logic.create4gewinntGui());
frame.setVisible(true); frame.setVisible(true);
} }

Loading…
Cancel
Save