.
This commit is contained in:
parent
1ff7335f8d
commit
422aff6555
@ -88,9 +88,7 @@ public class Garten extends Kompositum
|
|||||||
|
|
||||||
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)
|
||||||
@ -121,7 +119,6 @@ public class Garten extends Kompositum
|
|||||||
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…
x
Reference in New Issue
Block a user