From cf5cf8d792bc35e4f03c1d43e249a1f506c4d307 Mon Sep 17 00:00:00 2001 From: fdai7551 Date: Thu, 2 Feb 2023 11:58:22 +0100 Subject: [PATCH] refactoring:[SnakeGame Class]: breiteP2 ausgelagert --- .../de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 30a9c37..89b968d 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 @@ -180,7 +180,7 @@ public class SnakeGame extends JFrame { cP.add(panel11); panel12 = new JPanel(); - panel12.setBounds(xCords6, yCords2, hoeheP2, 100); + panel12.setBounds(xCords6, yCords2, hoeheP2, breiteP2); panel12.setVisible(true); panel12.setBackground(Color.BLACK);