Browse Source

Add QandA files and path

master
Leon Montag 2 years ago
parent
commit
73b4226fdf
  1. 1
      .classpath
  2. 0
      QandA/Answers.txt
  3. 0
      QandA/Questions.txt
  4. 4
      src/main/java/Gui/StartGameGui.java
  5. 10
      src/main/java/game/runGame.java
  6. BIN
      target/MiniGameProject-1.0-SNAPSHOT.jar
  7. 2
      target/maven-archiver/pom.properties
  8. 1
      target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

1
.classpath

@ -13,6 +13,7 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="QandA"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>

0
QandA/Answers.txt

0
QandA/Questions.txt

4
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();
}
}

10
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";
}

BIN
target/MiniGameProject-1.0-SNAPSHOT.jar

2
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

1
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
Loading…
Cancel
Save