1
0
forked from s444426/AIProjekt

Zaktualizuj 'traktor.py'

This commit is contained in:
Mikołaj Paterka 2020-04-08 07:03:07 +00:00
parent cba879ae15
commit 70e5f5c16c

View File

@ -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)
obje = pygame.Rect(self.pozycja.x, self.pozycja.y ,50,50)
pygame.draw.rect(self.game.pole, (0,150,255), obje)