Zaktualizuj 'src/waiter.py'

This commit is contained in:
Dominik Zawadzki 2020-05-19 16:32:02 +00:00
parent 55d7b9b886
commit 43d8d957f0

View File

@ -243,6 +243,10 @@ class Waiter(pygame.sprite.Sprite):
self.update('L', graphics) self.update('L', graphics)
graphics.update(self) graphics.update(self)
def Node(self):
node = [self.X, self.Y]
return node
def getTotalCost(tile): def getTotalCost(tile):
return tile.totalCost return tile.totalCost