diff --git a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGame.java b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGame.java index 89a70c7..2951666 100644 --- a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGame.java +++ b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGame.java @@ -30,6 +30,7 @@ public class SnakeGame extends JFrame { public JPanel panel11; public JPanel panel12; public JPanel panel13; + public JPanel panel14; public int breite = 1200; public int hoehe = 600; @@ -150,6 +151,13 @@ public class SnakeGame extends JFrame { panel13.setBackground(Color.BLACK); cP.add(panel13); + + panel14 = new JPanel(); + panel14.setBounds(400, 200, 100, 100); + panel14.setVisible(true); + panel14.setBackground(Color.WHITE); + + cP.add(panel14); } public JPanel getPanel1() {