diff options
Diffstat (limited to '')
-rw-r--r-- | src/gui/LevelSurround.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/LevelSurround.java b/src/gui/LevelSurround.java index 7cd4b71..ba3b5fd 100644 --- a/src/gui/LevelSurround.java +++ b/src/gui/LevelSurround.java @@ -116,5 +116,10 @@ public class LevelSurround extends Pane printD.setText(level.getTitle() + " print debug"); printD.setOnAction(e -> sc.print()); Driver.debug.addButton(printD); + + Button testfinish = new Button(); + testfinish.setText(level.getTitle() + "launch game end"); + testfinish.setOnAction(e -> Driver.setMenu(new GameOver(level, difficulty, prev, sc.getScore()))); + Driver.debug.addButton(testfinish); } }
\ No newline at end of file |