diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/LevelSurround.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/LevelSurround.java b/src/gui/LevelSurround.java index f815982..a94f890 100644 --- a/src/gui/LevelSurround.java +++ b/src/gui/LevelSurround.java @@ -24,6 +24,7 @@ public class LevelSurround extends Pane public LevelSurround(Level level, Difficulty difficulty, Pane prev) { ScoreController sc = new ScoreController(); + SongPlayer game = new SongPlayer(level, difficulty, prev, sc); Button exit = new Button(); exit.setText("Back"); @@ -82,7 +83,6 @@ public class LevelSurround extends Pane comboTextBox.getChildren().addAll(comboLabel,comboDisplay); comboTextBox.setPadding(new Insets(10)); - SongPlayer game = new SongPlayer(level, difficulty, prev, sc); game.minWidthProperty().bind(super.prefHeightProperty().multiply(0.66)); game.minHeightProperty().bind(super.prefHeightProperty()); game.getStyleClass().add("box"); |