diff options
| author | Mikkel <mithe24@student.sdu.dk> | 2025-04-08 11:17:49 +0200 |
|---|---|---|
| committer | mithe24 <mithe24@student.sdu.dk> | 2025-04-29 18:21:28 +0200 |
| commit | 6687af6f7c7d5d4524fadad1129d50040293e05c (patch) | |
| tree | e8437cfea3a526c2162cabc4c34f7d069e107068 /pacman/controller/src/main/java | |
| download | pacman-6687af6f7c7d5d4524fadad1129d50040293e05c.tar.gz pacman-6687af6f7c7d5d4524fadad1129d50040293e05c.zip | |
Initial commit
squashed all previous commits to one.
Diffstat (limited to '')
| -rw-r--r-- | pacman/controller/src/main/java/module-info.java | 9 | ||||
| -rw-r--r-- | pacman/controller/src/main/java/pacman/controller/GameApp.java | 21 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pacman/controller/src/main/java/module-info.java b/pacman/controller/src/main/java/module-info.java new file mode 100644 index 0000000..75c422d --- /dev/null +++ b/pacman/controller/src/main/java/module-info.java @@ -0,0 +1,9 @@ +/* module-info.java + * This acts as the manifest for the module. + */ +module pacman.controller { + requires javafx.controls; /* Declares a dependency on another module */ + requires pacman.model; /* Should depenend on model, */ + requires pacman.view; /* and view */ + exports pacman.controller; /* exports make specific packages */ +} /* public to other modules */ diff --git a/pacman/controller/src/main/java/pacman/controller/GameApp.java b/pacman/controller/src/main/java/pacman/controller/GameApp.java new file mode 100644 index 0000000..648dc15 --- /dev/null +++ b/pacman/controller/src/main/java/pacman/controller/GameApp.java @@ -0,0 +1,21 @@ +package pacman.controller; + +import javafx.application.Application; +import javafx.stage.Stage; + +/** + * GameApp + */ +public class GameApp + extends Application { + + @Override + public void start(Stage arg0) throws Exception { + // TODO Auto-generated method stub + + } + + public static void main(String[] args) { + launch(args); + } +} |