Route_planning_bfs #2
Binary file not shown.
@ -44,7 +44,7 @@ class Tile:
|
|||||||
self.image = "resources/images/dirt.png"
|
self.image = "resources/images/dirt.png"
|
||||||
self.photo = "resources/images/background.jpg"
|
self.photo = "resources/images/background.jpg"
|
||||||
ground = self.ground
|
ground = self.ground
|
||||||
if ground.obstacle and (self.x, self.y) != (170,100): #warunek po and do zmiany
|
if ground.obstacle and self.x != 170 and self.y != 100: #warunek po and do zmiany
|
||||||
self.image = "resources/images/rock_dirt.png"
|
self.image = "resources/images/rock_dirt.png"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user