dodanie kosztu wjazdu na kamień
This commit is contained in:
parent
09cdf6cc3d
commit
220d2770f5
@ -79,6 +79,8 @@ def goal_test(elem, goalstate):
|
|||||||
def tile_cost(tile):
|
def tile_cost(tile):
|
||||||
if tile.image == "resources/images/sampling.png":
|
if tile.image == "resources/images/sampling.png":
|
||||||
return 100
|
return 100
|
||||||
|
if tile.image == "resources/images/rock_dirt.png":
|
||||||
|
return 500
|
||||||
else:
|
else:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user