From 5f71421283f740484a8a8820d35a42ac311078c9 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Wed, 25 Jan 2023 11:08:12 +0100 Subject: [PATCH] =?UTF-8?q?[MouseGame=20Class]:=20Hinzuf=C3=BCgen=20der=20?= =?UTF-8?q?reset-funktion=20des=20Level=201.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java index 4360471..28502e8 100644 --- a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java +++ b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java @@ -101,11 +101,13 @@ public class MouseGame extends JFrame { panel.add(westWand); JPanel panel_1 = new JPanel(); + reset(panel_1); panel_1.setBackground(new Color(0, 0, 0)); panel_1.setBounds(0, 60, 662, 10); panel.add(panel_1); JPanel panel_2 = new JPanel(); + reset(panel_2); panel_2.setBackground(new Color(0, 0, 0)); panel_2.setBounds(655, 60, 10, 509); panel.add(panel_2);