2023-03-13 20:34:59 +11:00
|
|
|
package comp1110.ass2.gui;
|
|
|
|
|
|
|
|
import javafx.application.Application;
|
|
|
|
import javafx.scene.Group;
|
|
|
|
import javafx.scene.Scene;
|
|
|
|
import javafx.stage.Stage;
|
|
|
|
|
|
|
|
// FIXME Task 14
|
|
|
|
// FIXME Task 15
|
|
|
|
public class Game extends Application {
|
|
|
|
|
|
|
|
private final Group root = new Group();
|
|
|
|
private static final int WINDOW_WIDTH = 1200;
|
|
|
|
private static final int WINDOW_HEIGHT = 700;
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void start(Stage stage) throws Exception {
|
|
|
|
Scene scene = new Scene(this.root, WINDOW_WIDTH, WINDOW_HEIGHT);
|
|
|
|
stage.setScene(scene);
|
2023-03-19 21:46:36 +11:00
|
|
|
stage.setTitle("Blue Lagoon");
|
|
|
|
stage.setResizable(false);
|
2023-03-13 20:34:59 +11:00
|
|
|
stage.show();
|
|
|
|
}
|
|
|
|
}
|