Merging
This commit is contained in:
@@ -86,12 +86,18 @@ public class HappyBirdMain extends Application {
|
||||
menuButton.setLayoutX(575);
|
||||
menuButton.setLayoutY(625);
|
||||
menuButton.setVisible(false);
|
||||
<<<<<<< HEAD
|
||||
|
||||
=======
|
||||
>>>>>>> 6697cdef8e121846595c7e99f811d1088227faa6
|
||||
startGame.setVisible(false);
|
||||
|
||||
|
||||
//Button buttons[] = {startButton, highscoresButton, settingsButton};
|
||||
<<<<<<< HEAD
|
||||
|
||||
=======
|
||||
>>>>>>> 6697cdef8e121846595c7e99f811d1088227faa6
|
||||
|
||||
int yPosition = 225;
|
||||
for (Button button : buttons) {
|
||||
@@ -113,12 +119,18 @@ public class HappyBirdMain extends Application {
|
||||
|
||||
startGame.setVisible(false);
|
||||
|
||||
<<<<<<< HEAD
|
||||
|
||||
=======
|
||||
>>>>>>> 6697cdef8e121846595c7e99f811d1088227faa6
|
||||
Label nameLabel = new Label("Name:");
|
||||
Label acronymLabel = new Label("Kürzel:");
|
||||
|
||||
Label startLabels[] = {nameLabel, acronymLabel};
|
||||
<<<<<<< HEAD
|
||||
|
||||
=======
|
||||
>>>>>>> 6697cdef8e121846595c7e99f811d1088227faa6
|
||||
startButton.setOnAction(event -> {
|
||||
headline.setText("Start");
|
||||
for (Button button : buttons) {
|
||||
@@ -128,7 +140,7 @@ public class HappyBirdMain extends Application {
|
||||
});
|
||||
|
||||
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 +166,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 +179,7 @@ public class HappyBirdMain extends Application {
|
||||
feld.setVisible(false);
|
||||
}
|
||||
|
||||
|
||||
startButton.setOnAction(event -> {
|
||||
headline.setText("Start");
|
||||
for(Button button : buttons) {
|
||||
@@ -188,9 +201,7 @@ public class HappyBirdMain extends Application {
|
||||
});
|
||||
|
||||
|
||||
|
||||
//startGame.setOnAction(event -> {});
|
||||
|
||||
//startButton.setOnAction(event -> {});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user