This commit is contained in:
Lars Alteköster 2021-11-26 12:45:35 +01:00
parent 95f72fe4e8
commit dff4261c28
11 changed files with 11 additions and 12 deletions

View File

@ -86,12 +86,12 @@ 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 +113,19 @@ 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) {
@ -188,11 +188,10 @@ public class HappyBirdMain extends Application {
});
<<<<<<< HEAD
startGame.setOnAction(event -> {});
=======
//startGame.setOnAction(event -> {});
//startButton.setOnAction(event -> {});
>>>>>>> c82816957310f4cb126c980ad371abcdaba0d6de