Browse Source

[MouseGame Class]: Hinzufügen der Restefunktion für die Wände.

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

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

@ -83,16 +83,19 @@ public class MouseGame extends JFrame {
panel.add(nordWand);
JPanel suedWand = new JPanel();
reset(suedWand);
suedWand.setBackground(new Color(0, 0, 0));
suedWand.setBounds(0, 559, 696, 10);
panel.add(suedWand);
JPanel ostWand = new JPanel();
reset(ostWand);
ostWand.setBackground(new Color(0, 0, 0));
ostWand.setBounds(686, 0, 10, 509);
panel.add(ostWand);
JPanel westWand = new JPanel();
reset(westWand);
westWand.setBackground(new Color(0, 0, 0));
westWand.setBounds(0, 60, 10, 509);
panel.add(westWand);

Loading…
Cancel
Save