|
@ -98,5 +98,78 @@ public class SnakeGame extends JFrame { |
|
|
|
|
|
|
|
|
cP.add(panel4); |
|
|
cP.add(panel4); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public JPanel getPanel1() { |
|
|
|
|
|
return panel1; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setPanel1(JPanel panel1) { |
|
|
|
|
|
this.panel1 = panel1; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public JPanel getPanel2() { |
|
|
|
|
|
return panel2; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setPanel2(JPanel panel2) { |
|
|
|
|
|
this.panel2 = panel2; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public JPanel getPanel3() { |
|
|
|
|
|
return panel3; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setPanel3(JPanel panel3) { |
|
|
|
|
|
this.panel3 = panel3; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public JPanel getPanel4() { |
|
|
|
|
|
return panel4; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setPanel4(JPanel panel4) { |
|
|
|
|
|
this.panel4 = panel4; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int getBreite() { |
|
|
|
|
|
return breite; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setBreite(int breite) { |
|
|
|
|
|
this.breite = breite; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int getHoehe() { |
|
|
|
|
|
return hoehe; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setHoehe(int hoehe) { |
|
|
|
|
|
this.hoehe = hoehe; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getTitel() { |
|
|
|
|
|
return titel; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setTitel(String titel) { |
|
|
|
|
|
this.titel = titel; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int getHoeheP() { |
|
|
|
|
|
return hoeheP; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setHoeheP(int hoeheP) { |
|
|
|
|
|
this.hoeheP = hoeheP; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int getBreiteP() { |
|
|
|
|
|
return breiteP; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setBreiteP(int breiteP) { |
|
|
|
|
|
this.breiteP = breiteP; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|