Added Backbutton function to GameBoard

This commit is contained in:
Joshua 2024-12-03 12:23:46 +01:00
parent 3b9b1eaebb
commit 772f2d45c6
1 changed files with 1 additions and 0 deletions

View File

@ -109,5 +109,6 @@ public class GameBoard extends JPanel {
updateTextFields(); updateTextFields();
} }
}); */ }); */
backButton.addActionListener(e -> frame.showPanel("MainMenu"));
} }
} }