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
Branches
Tags
No related merge requests found
......@@ -2,7 +2,7 @@ package de.bricked.game.balls;
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),
NO_COLLISION("#2828CC", 0.03, 0.015, 0.023);
......
......@@ -86,6 +86,9 @@ public class LevelPackSelectController
{
TextInputDialog textInputDialog = new TextInputDialog();
textInputDialog.setHeaderText(null);
Stage dialogStage = (Stage)textInputDialog.getDialogPane().getScene().getWindow();
dialogStage.getIcons().add(icon);
dialogStage.initOwner(stage);
textInputDialog.setContentText("URL of the raw levelpack");
Optional<String> result = textInputDialog.showAndWait();
if(result.isPresent())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment