(self)
| 489 | self.object.y += 5 |
| 490 | |
| 491 | def execute(self): |
| 492 | while True: |
| 493 | self.object.place_enemies() |
| 494 | for event in pygame.event.get(): |
| 495 | if event.type == pygame.QUIT: |
| 496 | quit() |
| 497 | |
| 498 | self.controls(event) |
| 499 | |
| 500 | self.movements() |
| 501 | self.object.objects() |
| 502 | self.object.add_enemies() |
| 503 | |
| 504 | pygame.display.flip() |
| 505 | Display().clock.tick(60) |
| 506 | |
| 507 | |
| 508 | Menu().execute() |
nothing calls this directly
no test coverage detected