dodano koszt wjazdu na kamien

This commit is contained in:
MarRac 2024-06-09 14:55:33 +02:00
parent 0d967ac051
commit 43bfb278d0

View File

@ -79,6 +79,8 @@ def goal_test(elem, goalstate):
def tile_cost(tile):
if tile.image == "resources/images/sampling.png":
return 100
if tile.image == "resources/images/rock_dirt.png":
return 500
else:
return 1