|
|
@ -27,6 +27,8 @@ public class SnakeGame extends JFrame { |
|
|
|
public JPanel panel8; |
|
|
|
public JPanel panel9; |
|
|
|
public JPanel panel10; |
|
|
|
public JPanel panel11; |
|
|
|
public JPanel panel12; |
|
|
|
|
|
|
|
public int breite = 1200; |
|
|
|
public int hoehe = 600; |
|
|
@ -126,6 +128,20 @@ public class SnakeGame extends JFrame { |
|
|
|
panel10.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
cP.add(panel10); |
|
|
|
|
|
|
|
panel11 = new JPanel(); |
|
|
|
panel11.setBounds(700, 100, 100, 100); |
|
|
|
panel11.setVisible(true); |
|
|
|
panel11.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
cP.add(panel11); |
|
|
|
|
|
|
|
panel12 = new JPanel(); |
|
|
|
panel12.setBounds(800, 100, 100, 100); |
|
|
|
panel12.setVisible(true); |
|
|
|
panel12.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
cP.add(panel12); |
|
|
|
} |
|
|
|
|
|
|
|
public JPanel getPanel1() { |
|
|
|