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