|
@ -31,6 +31,7 @@ public class SnakeGame extends JFrame { |
|
|
public JPanel panel12; |
|
|
public JPanel panel12; |
|
|
public JPanel panel13; |
|
|
public JPanel panel13; |
|
|
public JPanel panel14; |
|
|
public JPanel panel14; |
|
|
|
|
|
public JPanel panel15; |
|
|
|
|
|
|
|
|
public int breite = 1200; |
|
|
public int breite = 1200; |
|
|
public int hoehe = 600; |
|
|
public int hoehe = 600; |
|
@ -158,6 +159,13 @@ public class SnakeGame extends JFrame { |
|
|
panel14.setBackground(Color.WHITE); |
|
|
panel14.setBackground(Color.WHITE); |
|
|
|
|
|
|
|
|
cP.add(panel14); |
|
|
cP.add(panel14); |
|
|
|
|
|
|
|
|
|
|
|
panel15 = new JPanel(); |
|
|
|
|
|
panel15.setBounds(500, 200, 100, 100); |
|
|
|
|
|
panel15.setVisible(true); |
|
|
|
|
|
panel15.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
|
|
|
|
cP.add(panel15); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public JPanel getPanel1() { |
|
|
public JPanel getPanel1() { |
|
|