Browse Source

refactoring:[SnakeGame Class]: breiteP2 ausgelagert

remotes/origin/SnakeGame
fdai7551 2 years ago
parent
commit
cf5cf8d792
  1. 2
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGame.java

2
JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGame.java

@ -180,7 +180,7 @@ public class SnakeGame extends JFrame {
cP.add(panel11); cP.add(panel11);
panel12 = new JPanel(); panel12 = new JPanel();
panel12.setBounds(xCords6, yCords2, hoeheP2, 100);
panel12.setBounds(xCords6, yCords2, hoeheP2, breiteP2);
panel12.setVisible(true); panel12.setVisible(true);
panel12.setBackground(Color.BLACK); panel12.setBackground(Color.BLACK);

Loading…
Cancel
Save