From 124caff6203b502cf28d5a7d40069cabc9e88263 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Mon, 17 Oct 2022 20:29:42 +0200 Subject: [PATCH] Solved Task 2 --- src/ch/zhaw/ads/SnowflakeServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch/zhaw/ads/SnowflakeServer.java b/src/ch/zhaw/ads/SnowflakeServer.java index 7ea726c..24e5bc7 100644 --- a/src/ch/zhaw/ads/SnowflakeServer.java +++ b/src/ch/zhaw/ads/SnowflakeServer.java @@ -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(); }