diff options
author | Marion <marion.zepf@gmail.com> | 2013-07-06 21:47:28 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-07-06 21:47:28 (GMT) |
commit | 107708064ce31ceccac451adf7ce636348f4b264 (patch) | |
tree | d3266a8c7b8e637e735c3d8e105ef6fef8c950a1 /TurtleArt/taturtle.py | |
parent | 166bdac2c5dec9097ac870d20dc05d1f9b3c4dac (diff) |
fully replace the primitive for the 'back' block with a Primitive object
Diffstat (limited to 'TurtleArt/taturtle.py')
-rw-r--r-- | TurtleArt/taturtle.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TurtleArt/taturtle.py b/TurtleArt/taturtle.py index 12882db..3d9d730 100644 --- a/TurtleArt/taturtle.py +++ b/TurtleArt/taturtle.py @@ -535,7 +535,8 @@ class Turtle: self._poly_points.append(('move', pos1[0], pos1[1])) self._poly_points.append(('line', pos2[0], pos2[1])) - def forward(self, distance, share=True): + def forward(self, distance, share=True, pendown=None): + ''' (The parameter `pendown` is ignored) ''' scaled_distance = distance * self._turtles.turtle_window.coord_scale old = self.get_xy() |