Browse Source

[MouseGame Class]: Hinzufügen der Panels des ersten Levels.

remotes/origin/MouseGame
fdai7382 2 years ago
parent
commit
197dcd2c99
  1. 10
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java

10
JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java

@ -100,6 +100,16 @@ 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();
panel_1.setBackground(new Color(0, 0, 0));
panel_1.setBounds(0, 60, 662, 10);
panel.add(panel_1);
JPanel panel_2 = new JPanel();
panel_2.setBackground(new Color(0, 0, 0));
panel_2.setBounds(655, 60, 10, 509);
panel.add(panel_2);
JPanel zielFeld = new JPanel(); JPanel zielFeld = new JPanel();
reset(zielFeld); reset(zielFeld);
zielFeld.setBounds(801, 518, 83, 62); zielFeld.setBounds(801, 518, 83, 62);

Loading…
Cancel
Save