Mehr bugs

This commit is contained in:
Mats Pape 2021-11-26 11:59:38 +01:00
parent 95f72fe4e8
commit 6697cdef8e
9 changed files with 8 additions and 14 deletions

View File

@ -86,12 +86,10 @@ public class HappyBirdMain extends Application {
menuButton.setLayoutX(575);
menuButton.setLayoutY(625);
menuButton.setVisible(false);
<<<<<<< HEAD
startGame.setVisible(false);
=======
//Button buttons[] = {startButton, highscoresButton, settingsButton};
>>>>>>> c82816957310f4cb126c980ad371abcdaba0d6de
int yPosition = 225;
for (Button button : buttons) {
@ -113,19 +111,17 @@ public class HappyBirdMain extends Application {
startGame.setVisible(false);
<<<<<<< HEAD
Label nameLabel = new Label("Name:");
Label acronymLabel = new Label("Kürzel:");
Label startLabels[] = {nameLabel, acronymLabel};
=======
startButton.setOnAction(event -> {
headline.setText("Start");
for (Button button : buttons) {
button.setVisible(false);
menuButton.setVisible(true);
}
>>>>>>> c82816957310f4cb126c980ad371abcdaba0d6de
});
int yPositionStartLabels = 225;
for (Label label : startLabels) {
@ -167,6 +163,7 @@ public class HappyBirdMain extends Application {
feld.setVisible(false);
}
startButton.setOnAction(event -> {
headline.setText("Start");
for(Button button : buttons) {
@ -188,11 +185,8 @@ public class HappyBirdMain extends Application {
});
<<<<<<< HEAD
startGame.setOnAction(event -> {});
=======
//startGame.setOnAction(event -> {});
//startButton.setOnAction(event -> {});
>>>>>>> c82816957310f4cb126c980ad371abcdaba0d6de