diff --git a/src/main/java/game/loadNextQuestion.java b/src/main/java/game/loadNextQuestion.java index e736c18..9e1b169 100644 --- a/src/main/java/game/loadNextQuestion.java +++ b/src/main/java/game/loadNextQuestion.java @@ -55,5 +55,10 @@ public class loadNextQuestion implements ActionListener { gameWin.createWinningPanel(); } } + + public void wrongAnswer() { + GameGui gameLose = new GameGui(); + gameLose.createLosingPanel(); + } }