|
@@ -175,7 +175,7 @@ def absolute_move_asset(asset, x:int, y:int):
|
|
|
return new_asset
|
|
return new_asset
|
|
|
|
|
|
|
|
# Change the orientation of a passed asset
|
|
# Change the orientation of a passed asset
|
|
|
-def rotate_asset(asset, direction):
|
|
|
|
|
|
|
+def rotate_asset(asset, direction:str):
|
|
|
# Relative turn
|
|
# Relative turn
|
|
|
if direction == "right" or direction == "left":
|
|
if direction == "right" or direction == "left":
|
|
|
if asset[1][4] == "east": # East
|
|
if asset[1][4] == "east": # East
|