Mehr bugs
This commit is contained in:
@@ -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,22 +111,20 @@ 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 -> {
|
||||
startButton.setOnAction(event -> {
|
||||
headline.setText("Start");
|
||||
for(Button button : buttons) {
|
||||
for (Button button : buttons) {
|
||||
button.setVisible(false);
|
||||
menuButton.setVisible(true);
|
||||
}
|
||||
>>>>>>> c82816957310f4cb126c980ad371abcdaba0d6de
|
||||
});
|
||||
|
||||
int yPositionStartLabels = 225;
|
||||
for(Label label : startLabels) {
|
||||
for (Label label : startLabels) {
|
||||
label.setPrefSize(250, 50);
|
||||
label.setStyle("-fx-background-color: #DED894; " +
|
||||
"-fx-text-fill: #000000; " +
|
||||
@@ -154,7 +150,7 @@ public class HappyBirdMain extends Application {
|
||||
TextField inputFields[] = {name, acronym};
|
||||
|
||||
int yPositionInputFields = 290;
|
||||
for(TextField feld : inputFields) {
|
||||
for (TextField feld : inputFields) {
|
||||
feld.setPrefSize(250, 50);
|
||||
feld.setStyle("-fx-font-size: 20px;" +
|
||||
"-fx-font-weight: bold;");
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user