Jan 5 years ago
parent
commit
422aff6555
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      Garten/src/garten/model/Garten.java

+ 1
- 4
Garten/src/garten/model/Garten.java View File

int deltax = (temp[2]-40)/((temp[2]-40)/40); int deltax = (temp[2]-40)/((temp[2]-40)/40);
int deltay = (temp[3]-40)/((temp[3]-40)/50); int deltay = (temp[3]-40)/((temp[3]-40)/50);
System.out.println("Rand y" + tempyrand);
do do
{ {
if (randomTyp == 1) if (randomTyp == 1)
tempx = temp[0]+20; tempx = temp[0]+20;
versetzt = true; versetzt = true;
} }
System.out.println(tempy);
tempy += deltay; tempy += deltay;
} }
if (tempy > tempyrand) if (tempy > tempyrand)

Loading…
Cancel
Save