(self)
| 89 | exit() |
| 90 | |
| 91 | def objects(self): |
| 92 | spacing = 50 |
| 93 | # Display the background |
| 94 | Display().windows.blit(Display().background, (0, 0)) |
| 95 | # Display the text |
| 96 | for text in self.text_list: |
| 97 | Display().windows.blit( |
| 98 | text.display(), |
| 99 | ( |
| 100 | (Display().windows.get_width() - text.display().get_width()) / 2, |
| 101 | spacing, |
| 102 | ), |
| 103 | ) |
| 104 | spacing += 100 |
| 105 | |
| 106 | def execute(self): |
| 107 | self.text() |