Browse Source

refactoring: call startGame

master
Leon Montag 2 years ago
parent
commit
80d35812b4
  1. 1
      src/main/java/Gui/StartGameGui.java

1
src/main/java/Gui/StartGameGui.java

@ -11,6 +11,7 @@ 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);
startGame();
} }
public void startGame() { public void startGame() {
GameGui Gui = new GameGui(); GameGui Gui = new GameGui();

Loading…
Cancel
Save