Browse Source

refactoring: [MouseGame Class]: Umbenennen der Balken aus Level 1

remotes/origin/MouseGame
fdai7382 2 years ago
parent
commit
39e6d61cec
  1. 22
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java

22
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); westWand.setBounds(0, 60, 10, 509);
panel.add(westWand); 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);
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 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(); JPanel zielFeld = new JPanel();
reset(zielFeld); reset(zielFeld);

Loading…
Cancel
Save