|
|
@ -29,6 +29,7 @@ public class SnakeGame extends JFrame { |
|
|
|
public JPanel panel10; |
|
|
|
public JPanel panel11; |
|
|
|
public JPanel panel12; |
|
|
|
public JPanel panel13; |
|
|
|
|
|
|
|
public int breite = 1200; |
|
|
|
public int hoehe = 600; |
|
|
@ -142,6 +143,13 @@ public class SnakeGame extends JFrame { |
|
|
|
panel12.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
cP.add(panel12); |
|
|
|
|
|
|
|
panel13 = new JPanel(); |
|
|
|
panel13.setBounds(300, 200, 100, 100); |
|
|
|
panel13.setVisible(true); |
|
|
|
panel13.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
cP.add(panel13); |
|
|
|
} |
|
|
|
|
|
|
|
public JPanel getPanel1() { |
|
|
|