Browse Source

[MouseGame Class]: Hinzufügen der reset-funktion des Level 1.

remotes/origin/MouseGame
fdai7382 2 years ago
parent
commit
5f71421283
  1. 2
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java

2
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);

Loading…
Cancel
Save