|
@ -33,6 +33,7 @@ public class SnakeGame extends JFrame { |
|
|
public JPanel panel14; |
|
|
public JPanel panel14; |
|
|
public JPanel panel15; |
|
|
public JPanel panel15; |
|
|
public JPanel panel16; |
|
|
public JPanel panel16; |
|
|
|
|
|
public JPanel panel17; |
|
|
|
|
|
|
|
|
public int breite = 1200; |
|
|
public int breite = 1200; |
|
|
public int hoehe = 600; |
|
|
public int hoehe = 600; |
|
@ -174,6 +175,13 @@ public class SnakeGame extends JFrame { |
|
|
panel16.setBackground(Color.BLACK); |
|
|
panel16.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
|
cP.add(panel16); |
|
|
cP.add(panel16); |
|
|
|
|
|
|
|
|
|
|
|
panel17 = new JPanel(); |
|
|
|
|
|
panel17.setBounds(700, 200, 100, 100); |
|
|
|
|
|
panel17.setVisible(true); |
|
|
|
|
|
panel17.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
|
|
|
|
cP.add(panel17); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public JPanel getPanel1() { |
|
|
public JPanel getPanel1() { |
|
|