Solved Task 2
This commit is contained in:
1 parent
1ab54b5b76
commit
124caff620
1 file changed
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user