()
| 52 | |
| 53 | # Function to move eggs downwards |
| 54 | def move_eggs(): |
| 55 | for egg in eggs: |
| 56 | (egg_x, egg_y, egg_x2, egg_y2) = c.coords(egg) |
| 57 | c.move(egg, 0, 10) |
| 58 | if egg_y2 > canvas_height: |
| 59 | egg_dropped(egg) |
| 60 | win.after(egg_speed, move_eggs) |
| 61 | |
| 62 | # Function to handle egg drop events |
| 63 | def egg_dropped(egg): |
nothing calls this directly
no test coverage detected