Browse Source

removed useless comment

chapitre-2-start
Lapin-Blanc 3 years ago
parent
commit
306893a57f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      birdie.py

+ 2
- 2
birdie.py View File

@@ -6,7 +6,7 @@ HEIGHT = 708


def on_mouse_down(): def on_mouse_down():
print('Clic souris !') print('Clic souris !')
titi.y -= 50 # équivalent à titi.y = titi.y - 50
titi.y -= 50


def update(): def update():
titi.y += titi.speed titi.y += titi.speed
@@ -18,4 +18,4 @@ def draw():
titi = Actor('bird1', (75, 350)) titi = Actor('bird1', (75, 350))
titi.speed = 3 titi.speed = 3


pgzrun.go()
pgzrun.go()

Loading…
Cancel
Save