Skip to content

Commit 541fd63

Browse files
Refac
1 parent 899ab66 commit 541fd63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pacman-ui/src/main/java/de/amr/pacmanfx/ui/GameUI_Builder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import de.amr.pacmanfx.ui.dashboard.DashboardID;
1313
import de.amr.pacmanfx.ui.layout.StartPage;
1414
import javafx.stage.Stage;
15+
import org.tinylog.Logger;
1516

1617
import java.io.File;
1718
import java.util.*;
@@ -30,6 +31,7 @@ private static class StartPageConfiguration {
3031
}
3132

3233
public static GameUI_Builder createUI(Stage stage, double width, double height) {
34+
Logger.info("JavaFX runtime: {}", System.getProperty("javafx.runtime.version"));
3335
PacManGames_UI_Impl.THE_ONE = new PacManGames_UI_Impl(Globals.theGameContext(), stage, width, height);
3436
return new GameUI_Builder(PacManGames_UI_Impl.THE_ONE);
3537
}

pacman-ui/src/main/java/de/amr/pacmanfx/ui/PacManGames_UI_Impl.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ public PacManGames_UI_Impl(GameContext gameContext, Stage stage, double width, d
9090
requireNonNull(gameContext, "Game context is null");
9191
requireNonNull(stage, "Stage is null");
9292

93-
Logger.info("JavaFX runtime: {}", System.getProperty("javafx.runtime.version"));
94-
9593
// Input
9694
theKeyboard = new Keyboard();
9795
theJoypad = new Joypad(theKeyboard);

0 commit comments

Comments
 (0)