From 2b433b2992199d207bbdd0e03bc0afaac59bea3b Mon Sep 17 00:00:00 2001 From: Leon Montag Date: Sun, 22 Jan 2023 18:53:22 +0100 Subject: [PATCH] prepare for test --- src/main/java/Gui/gui.java | 1 + src/main/java/game/StartDarkSoulsGame.java | 3 ++- .../compile/default-compile/inputFiles.lst | 20 +++++++++---------- .../default-testCompile/inputFiles.lst | 10 +++++----- 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/main/java/Gui/gui.java b/src/main/java/Gui/gui.java index b21e1d7..af61c9f 100644 --- a/src/main/java/Gui/gui.java +++ b/src/main/java/Gui/gui.java @@ -15,6 +15,7 @@ public class gui implements GuiInterface { public static JButton StartBtn, CloseBtn, StartDarkSoulsBtn; public static JPanel Panel; public static JLabel Label; + public static int status = 0; public static int width = 800, height = 600; @Override diff --git a/src/main/java/game/StartDarkSoulsGame.java b/src/main/java/game/StartDarkSoulsGame.java index b292674..85917c9 100644 --- a/src/main/java/game/StartDarkSoulsGame.java +++ b/src/main/java/game/StartDarkSoulsGame.java @@ -37,6 +37,7 @@ public class StartDarkSoulsGame { int monsterHP; int AshuraRing; public StartDarkSoulsGame() { + gui.status = 1; gui.Frame.setSize(800, 600); gui.Frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); gui.Frame.getContentPane().setBackground(Color.black); @@ -63,7 +64,7 @@ public class StartDarkSoulsGame { startButton.setFocusPainted(false); con.add(titleNamePanel); - con.add(StartButtonPanel); + con.add(StartButtonPanel); } public void createGameScreen() { diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst index fd44bf8..f4e91a4 100644 --- a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -1,10 +1,10 @@ -C:\Users\yazan\MiniGameProject\src\main\java\game\StartDarkSoulsGame.java -C:\Users\yazan\MiniGameProject\src\main\java\game\runGame.java -C:\Users\yazan\MiniGameProject\src\main\java\Gui\gui.java -C:\Users\yazan\MiniGameProject\src\main\java\Gui\StartGameGui.java -C:\Users\yazan\MiniGameProject\src\main\java\game\loadNextQuestion.java -C:\Users\yazan\MiniGameProject\src\main\java\Gui\ActionHandler.java -C:\Users\yazan\MiniGameProject\src\main\java\Gui\GameGui.java -C:\Users\yazan\MiniGameProject\src\main\java\main.java -C:\Users\yazan\MiniGameProject\src\main\java\Gui\GameGuiInterface.java -C:\Users\yazan\MiniGameProject\src\main\java\Gui\GuiInterface.java +C:\Users\Leon\MiniGameProject\src\main\java\Gui\ActionHandler.java +C:\Users\Leon\MiniGameProject\src\main\java\game\loadNextQuestion.java +C:\Users\Leon\MiniGameProject\src\main\java\Gui\GameGuiInterface.java +C:\Users\Leon\MiniGameProject\src\main\java\Gui\gui.java +C:\Users\Leon\MiniGameProject\src\main\java\game\runGame.java +C:\Users\Leon\MiniGameProject\src\main\java\game\StartDarkSoulsGame.java +C:\Users\Leon\MiniGameProject\src\main\java\main.java +C:\Users\Leon\MiniGameProject\src\main\java\Gui\StartGameGui.java +C:\Users\Leon\MiniGameProject\src\main\java\Gui\GameGui.java +C:\Users\Leon\MiniGameProject\src\main\java\Gui\GuiInterface.java diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst index 470a3c7..93bde8b 100644 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -1,5 +1,5 @@ -C:\Users\yazan\MiniGameProject\src\test\java\game\loadNextQuestionTest.java -C:\Users\yazan\MiniGameProject\src\test\java\Gui\guiTest.java -C:\Users\yazan\MiniGameProject\src\test\java\Gui\GameGuiTest.java -C:\Users\yazan\MiniGameProject\src\test\java\game\runGameTest.java -C:\Users\yazan\MiniGameProject\src\test\java\Gui\ActionHandlerTest.java +C:\Users\Leon\MiniGameProject\src\test\java\Gui\guiTest.java +C:\Users\Leon\MiniGameProject\src\test\java\game\loadNextQuestionTest.java +C:\Users\Leon\MiniGameProject\src\test\java\Gui\ActionHandlerTest.java +C:\Users\Leon\MiniGameProject\src\test\java\Gui\GameGuiTest.java +C:\Users\Leon\MiniGameProject\src\test\java\game\runGameTest.java