Solved Task 2

This commit is contained in:
schrom01 2022-10-17 20:29:42 +02:00
parent 1ab54b5b76
commit 124caff620
1 changed files with 2 additions and 2 deletions

View File

@ -9,11 +9,11 @@ public class SnowflakeServer implements CommandExecutor {
int steps = Integer.parseInt(command);
turtle = new Turtle();
turtle.reset(0.5, 0.9);
turtle.turn(120);
turtle.turn(240);
for(int i = 0; i < 3; i++){
turtle.turn(120);
drawSnowFlake(steps, distanz);
turtle.turn(120);
}
return turtle.getTrace();
}