From a662abd00d7934bbc8f727b94940701fc5bdb756 Mon Sep 17 00:00:00 2001 From: fdai7551 Date: Thu, 2 Feb 2023 11:57:32 +0100 Subject: [PATCH] refactoring:[SnakeGame Class]: hoeheP2 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 0b269a2..30a9c37 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, 100, 100); + panel12.setBounds(xCords6, yCords2, hoeheP2, 100); panel12.setVisible(true); panel12.setBackground(Color.BLACK);