|
|
@ -25,6 +25,8 @@ public class SnakeGame extends JFrame { |
|
|
|
public JPanel panel6; |
|
|
|
public JPanel panel7; |
|
|
|
public JPanel panel8; |
|
|
|
public JPanel panel9; |
|
|
|
public JPanel panel10; |
|
|
|
|
|
|
|
public int breite = 1200; |
|
|
|
public int hoehe = 600; |
|
|
@ -110,6 +112,20 @@ public class SnakeGame extends JFrame { |
|
|
|
panel8.setBackground(Color.BLUE); |
|
|
|
|
|
|
|
cP.add(panel8); |
|
|
|
|
|
|
|
panel9 = new JPanel(); |
|
|
|
panel9.setBounds(500, 100, 100, 100); |
|
|
|
panel9.setVisible(true); |
|
|
|
panel9.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
cP.add(panel9); |
|
|
|
|
|
|
|
panel10 = new JPanel(); |
|
|
|
panel10.setBounds(600, 100, 100, 100); |
|
|
|
panel10.setVisible(true); |
|
|
|
panel10.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
cP.add(panel10); |
|
|
|
} |
|
|
|
|
|
|
|
public JPanel getPanel1() { |
|
|
|