From 39e6d61cec8c7bfb64e84a5b0ec6d172ef58b0ea Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Wed, 25 Jan 2023 11:12:56 +0100 Subject: [PATCH] refactoring: [MouseGame Class]: Umbenennen der Balken aus Level 1 --- .../JavaGamelauncher/MouseGame.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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 28502e8..427aa3a 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 @@ -100,17 +100,17 @@ public class MouseGame extends JFrame { westWand.setBounds(0, 60, 10, 509); 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 balken1_lvl1 = new JPanel(); + reset(balken1_lvl1); + balken1_lvl1.setBackground(new Color(0, 0, 0)); + balken1_lvl1.setBounds(0, 60, 662, 10); + panel.add(balken1_lvl1); - 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); + JPanel balken2_lvl1 = new JPanel(); + reset(balken2_lvl1); + balken2_lvl1.setBackground(new Color(0, 0, 0)); + balken2_lvl1.setBounds(655, 60, 10, 509); + panel.add(balken2_lvl1); JPanel zielFeld = new JPanel(); reset(zielFeld);