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 e612dc5..1c92fec 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 @@ -117,7 +117,7 @@ public class SnakeGame extends JFrame { cP.add(panel3); panel4 = new JPanel(); - panel4.setBounds(600, 0, 100, 100); + panel4.setBounds(xCords4, 0, 100, 100); panel4.setVisible(true); panel4.setBackground(Color.BLACK); @@ -159,7 +159,7 @@ public class SnakeGame extends JFrame { cP.add(panel9); panel10 = new JPanel(); - panel10.setBounds(600, 100, 100, 100); + panel10.setBounds(xCords4, 100, 100, 100); panel10.setVisible(true); panel10.setBackground(Color.BLACK); @@ -201,7 +201,7 @@ public class SnakeGame extends JFrame { cP.add(panel15); panel16 = new JPanel(); - panel16.setBounds(600, 200, 100, 100); + panel16.setBounds(xCords4, 200, 100, 100); panel16.setVisible(true); panel16.setBackground(Color.BLACK); @@ -243,7 +243,7 @@ public class SnakeGame extends JFrame { cP.add(panel21); panel22 = new JPanel(); - panel22.setBounds(600, 300, 100, 100); + panel22.setBounds(xCords4, 300, 100, 100); panel22.setVisible(true); panel22.setBackground(Color.BLACK); @@ -285,7 +285,7 @@ public class SnakeGame extends JFrame { cP.add(panel27); panel28 = new JPanel(); - panel28.setBounds(600, 400, 100, 100); + panel28.setBounds(xCords4, 400, 100, 100); panel28.setVisible(true); panel28.setBackground(Color.BLACK); @@ -327,7 +327,7 @@ public class SnakeGame extends JFrame { cP.add(panel33); panel34 = new JPanel(); - panel34.setBounds(600, 500, 100, 100); + panel34.setBounds(xCords4, 500, 100, 100); panel34.setVisible(true); panel34.setBackground(Color.BLACK);