Browse Source

calling Losingpanel after losing

master
Ozan-Can Ekinci 2 years ago
parent
commit
9ddff67f7b
  1. 8
      src/main/java/game/loadNextQuestion.java

8
src/main/java/game/loadNextQuestion.java

@ -14,7 +14,7 @@ public class loadNextQuestion implements ActionListener {
if (e.getSource() == GameGui.AnswersBtn1) {
loadQuestions();
} else {
System.exit(0);
wrongAnswer();
}
}
@ -23,7 +23,7 @@ public class loadNextQuestion implements ActionListener {
if (e.getSource() == GameGui.AnswersBtn2) {
loadQuestions();
} else {
System.exit(0);
wrongAnswer();
}
}
@ -32,7 +32,7 @@ public class loadNextQuestion implements ActionListener {
if (e.getSource() == GameGui.AnswersBtn3) {
loadQuestions();
} else {
System.exit(0);
wrongAnswer();
}
}
@ -41,7 +41,7 @@ public class loadNextQuestion implements ActionListener {
if (e.getSource() == GameGui.AnswersBtn4) {
loadQuestions();
} else {
System.exit(0);
wrongAnswer();
}
}
}

Loading…
Cancel
Save