Browse Source

implemented wrongAnswer method

master
Ozan-Can Ekinci 2 years ago
parent
commit
7c05b830b1
  1. 5
      src/main/java/game/loadNextQuestion.java

5
src/main/java/game/loadNextQuestion.java

@ -55,5 +55,10 @@ public class loadNextQuestion implements ActionListener {
gameWin.createWinningPanel(); gameWin.createWinningPanel();
} }
} }
public void wrongAnswer() {
GameGui gameLose = new GameGui();
gameLose.createLosingPanel();
}
} }
Loading…
Cancel
Save