Merge branch 'nathan_stage_test'

This commit is contained in:
Nathan Woodburn 2023-03-21 13:52:31 +11:00
commit 46690b5f2c
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ public class Game extends Application {
public void start(Stage stage) throws Exception { public void start(Stage stage) throws Exception {
Scene scene = new Scene(this.root, WINDOW_WIDTH, WINDOW_HEIGHT); Scene scene = new Scene(this.root, WINDOW_WIDTH, WINDOW_HEIGHT);
stage.setScene(scene); stage.setScene(scene);
stage.setTitle("Blue Lagoon");
stage.getIcons().add(new javafx.scene.image.Image(Game.class.getResourceAsStream("favicon.png")));
stage.setResizable(false);
stage.show(); stage.show();
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB