Browse Source

refactoring:[SnakeGame Class]: hoeheP2 ausgelagert

remotes/origin/SnakeGame
fdai7551 2 years ago
parent
commit
a662abd00d
  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);
panel12 = new JPanel();
panel12.setBounds(xCords6, yCords2, 100, 100);
panel12.setBounds(xCords6, yCords2, hoeheP2, 100);
panel12.setVisible(true);
panel12.setBackground(Color.BLACK);

Loading…
Cancel
Save