08.10
This commit is contained in:
19
Muehle.java
19
Muehle.java
@@ -134,41 +134,42 @@ public class Muehle extends Application {
|
||||
Color button_color = Color.BLUE;
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
MuehleButton button = new MuehleButton(0,i,topLeftX,topLeftY+ i*325,button_color,game);
|
||||
MuehleButton button = new MuehleButton(0,0,i,topLeftX,topLeftY+ i*325,button_color,game);
|
||||
shapes.add(button.getShape());
|
||||
}
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
MuehleButton button = new MuehleButton(1,i,topRightX -230,topLeftY+ i*100,button_color,game);
|
||||
MuehleButton button = new MuehleButton(i,1,i,topRightX -230,topLeftY+ i*100,button_color,game);
|
||||
shapes.add(button.getShape());
|
||||
}
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
MuehleButton button = new MuehleButton(2,i,topRightX + 140,topLeftY+ i*325,button_color,game);
|
||||
MuehleButton button = new MuehleButton(0,2,i,topRightX + 140,topLeftY+ i*325,button_color,game);
|
||||
shapes.add(button.getShape());
|
||||
}
|
||||
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
MuehleButton button = new MuehleButton(0,i,topLeftX + 100,topLeftY+ i*220 +100,button_color,game);
|
||||
MuehleButton button = new MuehleButton(1,0,i,topLeftX + 100,topLeftY+ i*220 +100,button_color,game);
|
||||
shapes.add(button.getShape());
|
||||
}
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
MuehleButton button = new MuehleButton(2,i,topRightX +40,topLeftY+ i*220 +100,button_color,game);
|
||||
MuehleButton button = new MuehleButton(1,2,i,topRightX +40,topLeftY+ i*220 +100,button_color,game);
|
||||
shapes.add(button.getShape());
|
||||
}
|
||||
for (int i = 0; i < 3; i++) {
|
||||
MuehleButton button = new MuehleButton(1,i,topRightX -230,topLeftY+ i*100 +460,button_color,game);
|
||||
for (int i = 2; i >=0; i--) {
|
||||
MuehleButton button = new MuehleButton(i,1,i,topRightX -230,topLeftY+ i*100 + 360,button_color,game);
|
||||
shapes.add(button.getShape());
|
||||
}
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
MuehleButton button = new MuehleButton(0,i,topLeftX +200,topLeftY+ i*130 +200,button_color,game);
|
||||
|
||||
MuehleButton button = new MuehleButton(2,0,i,topLeftX +200,topLeftY+ i*130 +200,button_color,game);
|
||||
shapes.add(button.getShape());
|
||||
}
|
||||
for (int i = 0; i < 3; i++) {
|
||||
MuehleButton button = new MuehleButton(2,i,topLeftX +540,topLeftY+ i*130 +200,button_color,game);
|
||||
MuehleButton button = new MuehleButton(0,2,i,topLeftX +540,topLeftY+ i*130 +200,button_color,game);
|
||||
shapes.add(button.getShape());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user