From 73b4226fdf8d55bb32334b28f90674d1d3bb82d0 Mon Sep 17 00:00:00 2001 From: Leon Montag Date: Fri, 30 Dec 2022 11:24:20 +0100 Subject: [PATCH] Add QandA files and path --- .classpath | 1 + QandA/Answers.txt | 0 QandA/Questions.txt | 0 src/main/java/Gui/StartGameGui.java | 4 ++++ src/main/java/game/runGame.java | 10 ++++++++++ target/MiniGameProject-1.0-SNAPSHOT.jar | Bin 4792 -> 5350 bytes target/maven-archiver/pom.properties | 2 +- .../compile/default-compile/inputFiles.lst | 1 + 8 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 QandA/Answers.txt create mode 100644 QandA/Questions.txt create mode 100644 src/main/java/game/runGame.java 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 a8406a8ab43e42a16c2ca14a5f4a53f720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