debug
This commit is contained in:
parent
322f808f38
commit
ebfa3ca1da
@ -17,6 +17,7 @@ class Fahrzeug(pygame.sprite.Sprite):
|
|||||||
def draw(self, win):
|
def draw(self, win):
|
||||||
rotated_image = pygame.transform.rotate(self.image, self.angle)
|
rotated_image = pygame.transform.rotate(self.image, self.angle)
|
||||||
rotated_rect = rotated_image.get_rect(center=self.rect.center)
|
rotated_rect = rotated_image.get_rect(center=self.rect.center)
|
||||||
|
#debug nicht anrühren
|
||||||
#self.angle += 1
|
#self.angle += 1
|
||||||
#pygame.draw.rect(win, (255, 0, 0), rotated_rect)
|
#pygame.draw.rect(win, (255, 0, 0), rotated_rect)
|
||||||
win.blit(rotated_image, rotated_rect)
|
win.blit(rotated_image, rotated_rect)
|
||||||
|
Loading…
Reference in New Issue
Block a user