diff --git a/src/main/java/Gui/GameGui.java b/src/main/java/Gui/GameGui.java new file mode 100644 index 0000000..21f9767 --- /dev/null +++ b/src/main/java/Gui/GameGui.java @@ -0,0 +1,14 @@ +package Gui; + +import javax.swing.JPanel; + +public class GameGui { +public static JPanel MainPanel, ButtonPanel, headingPanel; + + + public void createGui() { + MainPanel = new JPanel(); + ButtonPanel = new JPanel(); + headingPanel = new JPanel(); + } +} diff --git a/src/main/java/Gui/StartGameGui.java b/src/main/java/Gui/StartGameGui.java index 38fd1a8..9bc5ca1 100644 --- a/src/main/java/Gui/StartGameGui.java +++ b/src/main/java/Gui/StartGameGui.java @@ -12,7 +12,7 @@ public class StartGameGui implements ActionListener { @Override public void actionPerformed(ActionEvent e) { gui.Panel.setVisible(false); - + GameGui Gui = new GameGui(); runGame rungame = new runGame(); rungame.run(); } diff --git a/target/MiniGameProject-1.0-SNAPSHOT.jar b/target/MiniGameProject-1.0-SNAPSHOT.jar index 279db4f..9ec6899 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 e59005d..4701dcd 100644 --- a/target/maven-archiver/pom.properties +++ b/target/maven-archiver/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven -#Fri Dec 30 12:02:39 CET 2022 +#Fri Dec 30 12:56:18 CET 2022 groupId=MiniGameProject artifactId=MiniGameProject version=1.0-SNAPSHOT