|
@@ -124,7 +124,7 @@ def absolute_move_karel(asset, x:int=0, y:int=0):
|
|
|
return new_karel
|
|
return new_karel
|
|
|
|
|
|
|
|
# Change the orientation of a passed Karel
|
|
# Change the orientation of a passed Karel
|
|
|
-def rotate_karel(asset, direction):
|
|
|
|
|
|
|
+def rotate_asset(asset, direction):
|
|
|
# Relative turn
|
|
# Relative turn
|
|
|
if direction == "right" or direction == "left":
|
|
if direction == "right" or direction == "left":
|
|
|
# East
|
|
# East
|