Added Backbutton function to GameBoard
This commit is contained in:
parent
3b9b1eaebb
commit
772f2d45c6
|
@ -109,5 +109,6 @@ public class GameBoard extends JPanel {
|
||||||
updateTextFields();
|
updateTextFields();
|
||||||
}
|
}
|
||||||
}); */
|
}); */
|
||||||
|
backButton.addActionListener(e -> frame.showPanel("MainMenu"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue