diff --git a/.classpath b/.classpath index a226d46..2b8975f 100644 --- a/.classpath +++ b/.classpath @@ -13,6 +13,7 @@ + diff --git a/QandA/Answers.txt b/QandA/Answers.txt new file mode 100644 index 0000000..e69de29 diff --git a/QandA/Questions.txt b/QandA/Questions.txt new file mode 100644 index 0000000..e69de29 diff --git a/src/main/java/Gui/StartGameGui.java b/src/main/java/Gui/StartGameGui.java index 65a9019..8c26298 100644 --- a/src/main/java/Gui/StartGameGui.java +++ b/src/main/java/Gui/StartGameGui.java @@ -4,12 +4,16 @@ import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; +import game.runGame; + public class StartGameGui implements ActionListener { @Override public void actionPerformed(ActionEvent e) { gui.Panel.setVisible(false); + + runGame rungame = new runGame(); } } diff --git a/src/main/java/game/runGame.java b/src/main/java/game/runGame.java new file mode 100644 index 0000000..0206dde --- /dev/null +++ b/src/main/java/game/runGame.java @@ -0,0 +1,10 @@ +package game; + +import java.io.BufferedReader; +import java.io.FileReader; +import java.io.IOException; + +public class runGame { + public static String QuestionsPath = "QandA/Questions.txt"; + public static String AnswersPath = "QandA/Answers.txt"; +} diff --git a/target/MiniGameProject-1.0-SNAPSHOT.jar b/target/MiniGameProject-1.0-SNAPSHOT.jar index a8406a8..c8c9929 100644 Binary files a/target/MiniGameProject-1.0-SNAPSHOT.jar and b/target/MiniGameProject-1.0-SNAPSHOT.jar differ diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties index 0961d2b..4af4ab2 100644 --- a/target/maven-archiver/pom.properties +++ b/target/maven-archiver/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven -#Fri Dec 30 10:15:22 CET 2022 +#Fri Dec 30 11:20:41 CET 2022 groupId=MiniGameProject artifactId=MiniGameProject version=1.0-SNAPSHOT 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 e26bf8e..35646fd 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,4 +1,5 @@ C:\Users\Leon\MiniGameProject\src\main\java\Gui\ActionHandler.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\main.java C:\Users\Leon\MiniGameProject\src\main\java\Gui\StartGameGui.java