Browse Source

prepare for test

master
Leon Montag 2 years ago
parent
commit
2b433b2992
  1. 1
      src/main/java/Gui/gui.java
  2. 3
      src/main/java/game/StartDarkSoulsGame.java
  3. 20
      target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
  4. 10
      target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

1
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

3
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() {

20
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

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