aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/sowgro/npehero/gui/LevelSurround.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/sowgro/npehero/gui/LevelSurround.java')
-rwxr-xr-xsrc/main/java/net/sowgro/npehero/gui/LevelSurround.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/net/sowgro/npehero/gui/LevelSurround.java b/src/main/java/net/sowgro/npehero/gui/LevelSurround.java
index 8ab722d..09eeaa0 100755
--- a/src/main/java/net/sowgro/npehero/gui/LevelSurround.java
+++ b/src/main/java/net/sowgro/npehero/gui/LevelSurround.java
@@ -21,10 +21,10 @@ public class LevelSurround extends Page
{
private final HBox content = new HBox();
- public LevelSurround(Level level, Difficulty difficulty, Page prev)
+ public LevelSurround(Difficulty difficulty, Page prev)
{
ScoreController sc = new ScoreController();
- SongPlayer game = new SongPlayer(level, difficulty, prev, sc);
+ SongPlayer game = new SongPlayer(difficulty, prev, sc);
Button exit = new Button();
exit.setText("Back");
@@ -40,11 +40,11 @@ public class LevelSurround extends Page
buttonBox.setSpacing(10);
Text title = new Text();
- title.setText(level.title);
+ title.setText(difficulty.level.title);
title.getStyleClass().add("t2");
Text artist = new Text();
- artist.setText(level.artist+" - "+difficulty.title);
+ artist.setText(difficulty.level.artist+" - "+difficulty.title);
artist.getStyleClass().add("t3");
VBox titleTextBox = new VBox();