| 3 | |
| 4 | |
| 5 | class Display: |
| 6 | pygame.init() |
| 7 | windows = pygame.display.set_mode((640, 480)) |
| 8 | pygame.display.set_caption("Space Shooter") |
| 9 | clock = pygame.time.Clock() |
| 10 | |
| 11 | background = pygame.image.load("background.png") |
| 12 | font = pygame.font.Font("SHPinscher-Regular.otf", 35) |
| 13 | |
| 14 | spaceship = pygame.image.load("spaceship.png") |
| 15 | enemy_spaceship = pygame.image.load("enemy spaceship.png") |
| 16 | enemy_missile_craft = pygame.image.load("missile spaceship.png") |
| 17 | laser = pygame.image.load("bullet.png") |
| 18 | enemy_laser = pygame.image.load("enemy laser.png") |
| 19 | missile = pygame.image.load("missile.png") |
| 20 | |
| 21 | |
| 22 | class Text: |
no test coverage detected