From 70e5f5c16c80f177124324f5ca3e8ab6061c0435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Paterka?= Date: Wed, 8 Apr 2020 07:03:07 +0000 Subject: [PATCH] Zaktualizuj 'traktor.py' --- traktor.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/traktor.py b/traktor.py index 62d311a..06f29d2 100644 --- a/traktor.py +++ b/traktor.py @@ -6,7 +6,6 @@ class Traktor(object): def __init__(self, game): #przekazywanie okiektu gra obiektowi traktor self.game = game - self.pozycja = Vector2(0,0) @@ -25,5 +24,5 @@ class Traktor(object): def rysowanie(self): - rect = pygame.Rect(self.pozycja.x, self.pozycja.y ,50,50) - pygame.draw.rect(self.game.pole, (0,150,255), rect) \ No newline at end of file + obje = pygame.Rect(self.pozycja.x, self.pozycja.y ,50,50) + pygame.draw.rect(self.game.pole, (0,150,255), obje) \ No newline at end of file