diff --git a/src/main/java/Gui/StartGameGui.java b/src/main/java/Gui/StartGameGui.java index 1c51367..c52897c 100644 --- a/src/main/java/Gui/StartGameGui.java +++ b/src/main/java/Gui/StartGameGui.java @@ -11,11 +11,12 @@ public class StartGameGui implements ActionListener { @Override public void actionPerformed(ActionEvent e) { gui.Panel.setVisible(false); + } + public void startGame() { GameGui Gui = new GameGui(); Gui.createGui(); runGame rungame = new runGame(); rungame.run(GameGui.questionNr); } - }