dodanie kosztu wjazdu na kamień

This commit is contained in:
Alicja Puzio 2024-06-09 13:49:25 +02:00
parent 09cdf6cc3d
commit 220d2770f5

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