Skip to content
Snippets Groups Projects
Commit f52b0700 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

adjusted normal ball max speed, added icon

parent 431010e7
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ package de.bricked.game.balls; ...@@ -2,7 +2,7 @@ package de.bricked.game.balls;
public enum BallType public enum BallType
{ {
NORMAL("#9CD8FF", 0.03, 0.005, 0.015), NORMAL("#9CD8FF", 0.03, 0.005, 0.012),
EXPLOSIVE("#CC2E2E", 0.03, 0.01, 0.02), EXPLOSIVE("#CC2E2E", 0.03, 0.01, 0.02),
NO_COLLISION("#2828CC", 0.03, 0.015, 0.023); NO_COLLISION("#2828CC", 0.03, 0.015, 0.023);
......
...@@ -86,6 +86,9 @@ public class LevelPackSelectController ...@@ -86,6 +86,9 @@ public class LevelPackSelectController
{ {
TextInputDialog textInputDialog = new TextInputDialog(); TextInputDialog textInputDialog = new TextInputDialog();
textInputDialog.setHeaderText(null); textInputDialog.setHeaderText(null);
Stage dialogStage = (Stage)textInputDialog.getDialogPane().getScene().getWindow();
dialogStage.getIcons().add(icon);
dialogStage.initOwner(stage);
textInputDialog.setContentText("URL of the raw levelpack"); textInputDialog.setContentText("URL of the raw levelpack");
Optional<String> result = textInputDialog.showAndWait(); Optional<String> result = textInputDialog.showAndWait();
if(result.isPresent()) if(result.isPresent())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment