dodano koszt wjazdu na kamien
This commit is contained in:
parent
0d967ac051
commit
43bfb278d0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user