Merge branch 'nathan_stage_test'
This commit is contained in:
commit
46690b5f2c
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
BIN
src/comp1110/ass2/gui/favicon.png
Normal file
BIN
src/comp1110/ass2/gui/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Loading…
Reference in New Issue
Block a user