|
|
@ -41,6 +41,8 @@ public class SnakeGame extends JFrame { |
|
|
|
public JPanel panel3; |
|
|
|
public JPanel panel4; |
|
|
|
public JPanel panel5; |
|
|
|
public JPanel panel6; |
|
|
|
public JPanel panel7; |
|
|
|
|
|
|
|
public int breite = 1200; |
|
|
|
public int hoehe = 600; |
|
|
@ -105,6 +107,20 @@ public class SnakeGame extends JFrame { |
|
|
|
panel5.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
cP.add(panel5); |
|
|
|
|
|
|
|
panel6 = new JPanel(); |
|
|
|
panel6.setBounds(800, 0, 100, 100); |
|
|
|
panel6.setVisible(true); |
|
|
|
panel6.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
cP.add(panel6); |
|
|
|
|
|
|
|
panel7 = new JPanel(); |
|
|
|
panel7.setBounds(300, 100, 100, 100); |
|
|
|
panel7.setVisible(true); |
|
|
|
panel7.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
cP.add(panel7); |
|
|
|
} |
|
|
|
|
|
|
|
public JPanel getPanel1() { |
|
|
|