From 43d8d957f0ee267b3ee60b802108b99b0b792a04 Mon Sep 17 00:00:00 2001 From: Dominik Zawadzki Date: Tue, 19 May 2020 16:32:02 +0000 Subject: [PATCH] Zaktualizuj 'src/waiter.py' --- src/waiter.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/waiter.py b/src/waiter.py index 7d00a19..5795bd1 100644 --- a/src/waiter.py +++ b/src/waiter.py @@ -242,6 +242,10 @@ class Waiter(pygame.sprite.Sprite): graphics.clear(self.X, self.Y) self.update('L', graphics) graphics.update(self) + + def Node(self): + node = [self.X, self.Y] + return node def getTotalCost(tile):