Skip to content

Commit

Permalink
Merge pull request #65 from einaskoi/einar/startWindow
Browse files Browse the repository at this point in the history
add basic game window
  • Loading branch information
peretr authored Apr 10, 2026
2 parents fa6fb28 + 0b56bd6 commit 19154a8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
21 changes: 19 additions & 2 deletions src/main/java/edu/ntnu/idi/idatt2003/gruppe42/Millions.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
package edu.ntnu.idi.idatt2003.gruppe42;

public class Millions {
public static void main(String[] args) {
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;

public class Millions extends Application {

@Override
public void start(Stage stage) throws Exception {
BorderPane root = new BorderPane();
Scene scene = new Scene(root, 900, 700);

stage.setTitle("Millions");
stage.setScene(scene);
stage.setFullScreen(true);
stage.show();
}

public static void main(String[] args) {
launch(args);
}
}
12 changes: 0 additions & 12 deletions src/test/java/edu/ntnu/idi/idatt2003/gruppe42/MillionsTest.java

This file was deleted.

0 comments on commit 19154a8

Please sign in to comment.