Browse Source

create panel for text adventure

master
Yazan Alaamer 2 years ago
parent
commit
ec6f0ca529
  1. 23
      src/main/java/game/StartDarkSoulsGame.java
  2. 20
      target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
  3. 10
      target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

23
src/main/java/game/StartDarkSoulsGame.java

@ -1,5 +1,28 @@
package game;
import java.awt.Color;
import java.awt.Container;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import Gui.gui;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class StartDarkSoulsGame {
Container con;
public StartDarkSoulsGame() {
gui.Frame.setSize(800, 600);
gui.Frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
gui.Frame.getContentPane().setBackground(Color.black);
gui.Frame.setLayout(null);
gui.Frame.setVisible(true);
con = gui.Frame.getContentPane();
}
}

20
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

@ -1,10 +1,10 @@
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
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

10
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

@ -1,5 +1,5 @@
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
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
Loading…
Cancel
Save