|
@ -11,11 +11,12 @@ public class StartGameGui implements ActionListener { |
|
|
@Override |
|
|
@Override |
|
|
public void actionPerformed(ActionEvent e) { |
|
|
public void actionPerformed(ActionEvent e) { |
|
|
gui.Panel.setVisible(false); |
|
|
gui.Panel.setVisible(false); |
|
|
|
|
|
} |
|
|
|
|
|
public void startGame() { |
|
|
GameGui Gui = new GameGui(); |
|
|
GameGui Gui = new GameGui(); |
|
|
Gui.createGui(); |
|
|
Gui.createGui(); |
|
|
|
|
|
|
|
|
runGame rungame = new runGame(); |
|
|
runGame rungame = new runGame(); |
|
|
rungame.run(GameGui.questionNr); |
|
|
rungame.run(GameGui.questionNr); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |