fix whitespace
This commit is contained in:
parent
260eaa8202
commit
00275fbfaf
@ -17,11 +17,11 @@ def creer_ananas(pos_x, pos_y):
|
|||||||
ananas = pygame.sprite.Sprite()
|
ananas = pygame.sprite.Sprite()
|
||||||
pygame.sprite.Sprite.__init__(ananas)
|
pygame.sprite.Sprite.__init__(ananas)
|
||||||
ananas.image = pygame.image.load("ananas.png").convert_alpha()
|
ananas.image = pygame.image.load("ananas.png").convert_alpha()
|
||||||
ananas.image = pygame.transform.scale(ananas.image,[200, 100])
|
ananas.image = pygame.transform.scale(ananas.image,[200, 100])
|
||||||
ananas.rect = ananas.image.get_rect()
|
ananas.rect = ananas.image.get_rect()
|
||||||
ananas.rect.x = pos_x
|
ananas.rect.x = pos_x
|
||||||
ananas.rect.y = pos_y
|
ananas.rect.y = pos_y
|
||||||
|
|
||||||
return ananas
|
return ananas
|
||||||
|
|
||||||
pygame.init()
|
pygame.init()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user