|
|
@ -16,7 +16,7 @@ import game.loadNextQuestion; |
|
|
|
public class GameGui implements GameGuiInterface { |
|
|
|
|
|
|
|
public static JPanel MainPanel, ButtonPanel, headingPanel, WinningPanel, LosingPanel; |
|
|
|
public static JLabel Headline,QuestionLabel,WinningLabel, LosingLabel, ShowQuestionNr; |
|
|
|
public static JLabel Headline,QuestionLabel,WinningLabel, LosingLabel, ShowQuestionNr, HighScoreLabel; |
|
|
|
public static JButton AnswersBtn1,AnswersBtn2,AnswersBtn3,AnswersBtn4,RestartBtn,RestartBtn1,ClosingBtn; |
|
|
|
public static int questionNr = 0; |
|
|
|
public static int counter = 1; |
|
|
@ -173,5 +173,10 @@ GridBagConstraints gbc; |
|
|
|
MainPanel.add(ButtonPanel); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void highScore() { |
|
|
|
HighScoreLabel = new JLabel("Hier steht der Highscore"); |
|
|
|
LosingPanel.add(HighScoreLabel); |
|
|
|
} |
|
|
|
|
|
|
|
} |