Fahrzeug #2
@ -17,6 +17,7 @@ class Fahrzeug(pygame.sprite.Sprite):
|
||||
def draw(self, win):
|
||||
rotated_image = pygame.transform.rotate(self.image, self.angle)
|
||||
rotated_rect = rotated_image.get_rect(center=self.rect.center)
|
||||
#debug nicht anrühren
|
||||
#self.angle += 1
|
||||
Yadciel marked this conversation as resolved
|
||||
#pygame.draw.rect(win, (255, 0, 0), rotated_rect)
|
||||
win.blit(rotated_image, rotated_rect)
|
||||
|
Loading…
Reference in New Issue
Block a user
kommentar?