gui: Added title and set not resizable

This commit is contained in:
Nathan Woodburn 2023-03-19 21:46:36 +11:00
parent fb204b42be
commit 7e60847379
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -17,6 +17,8 @@ public class Game extends Application {
public void start(Stage stage) throws Exception {
Scene scene = new Scene(this.root, WINDOW_WIDTH, WINDOW_HEIGHT);
stage.setScene(scene);
stage.setTitle("Blue Lagoon");
stage.setResizable(false);
stage.show();
}
}