HBox numberOfPlayersButtons = new HBox();
numberOfPlayersButtons.setAlignment(Pos.CENTER);
numberOfPlayersButtons.getChildren().addAll(numberOfPlayers1,
numberOfPlayers2, numberOfPlayers3);
Line horizontalLine1 = new Line();
horizontalLine1.setEndX(480);
horizontalLine1.setStroke(Color.GRAY);
horizontalLine1.setStrokeWidth(2);
Label worldCreationLabel = new Label("CREATION OF THE WORLD");
worldCreationLabel.setFont(Assets.getFont(Assets.FONT_COURIERNEW_BOLD_16));
worldCreationLabel.setTextFill(Color.LIGHTGRAY);
worldCreation = new ToggleGroup();
RadioButton worldCreation1 = new RadioButton("1");
worldCreation1.setFont(Assets.getFont(Assets.FONT_COURIERNEW_BOLD_13));
worldCreation1.setSelected(true);
worldCreation1.setUserData(new FlatLandWorldGenerator(0.15));
worldCreation1.setToggleGroup(worldCreation);
worldCreation1.setMinWidth(120);
worldCreation1.setMaxWidth(120);
RadioButton worldCreation2 = new RadioButton("2");
worldCreation2.setFont(Assets.getFont(Assets.FONT_COURIERNEW_BOLD_13));
worldCreation2.setUserData(new FlatLandWorldGenerator(0.3));
worldCreation2.setToggleGroup(worldCreation);
worldCreation2.setMinWidth(120);
worldCreation2.setMaxWidth(120);
RadioButton worldCreation3 = new RadioButton("3");
worldCreation3.setFont(Assets.getFont(Assets.FONT_COURIERNEW_BOLD_13));
worldCreation3.setUserData(new FlatLandWorldGenerator(0.45));
worldCreation3.setToggleGroup(worldCreation);
worldCreation3.setMinWidth(120);
worldCreation3.setMaxWidth(120);
RadioButton worldCreation4 = new RadioButton("4");
worldCreation4.setFont(Assets.getFont(Assets.FONT_COURIERNEW_BOLD_13));
worldCreation4.setUserData(new FlatLandWorldGenerator(0.6));
worldCreation4.setToggleGroup(worldCreation);
worldCreation4.setMinWidth(120);
worldCreation4.setMaxWidth(120);
RadioButton worldCreation5 = new RadioButton("5");
worldCreation5.setFont(Assets.getFont(Assets.FONT_COURIERNEW_BOLD_13));
worldCreation5.setUserData(new FlatLandWorldGenerator(0.75));
worldCreation5.setToggleGroup(worldCreation);
HBox worldCreationButtons = new HBox();
worldCreationButtons.setAlignment(Pos.CENTER);
worldCreationButtons.getChildren().addAll(worldCreation1, worldCreation2,
worldCreation3, worldCreation4, worldCreation5);
Line horizontalLine2 = new Line();
horizontalLine2.setEndX(480);
horizontalLine2.setStroke(Color.GRAY);
horizontalLine2.setStrokeWidth(2);
Label gameLevelLabel = new Label("GAME LEVEL");
gameLevelLabel.setFont(Assets.getFont(Assets.FONT_COURIERNEW_BOLD_16));
gameLevelLabel.setTextFill(Color.LIGHTGRAY);