-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from einaskoi/einar/startWindow
add basic game window
- Loading branch information
Showing
2 changed files
with
19 additions
and
14 deletions.
There are no files selected for viewing
21 changes: 19 additions & 2 deletions
21
src/main/java/edu/ntnu/idi/idatt2003/gruppe42/Millions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
12
src/test/java/edu/ntnu/idi/idatt2003/gruppe42/MillionsTest.java
This file was deleted.
Oops, something went wrong.