Traceback (most recent call last):
File "D:\pythonProject\main.py", line 38, in <module>
ai = AlienInvasion()
File "D:\pythonProject\main.py", line 17, in __init__
self.ship = Ship(self.screen)
File "D:\pythonProject\ship.py", line 7, in __init__
self.screen = ai_game.screen
AttributeError: 'pygame.Surface' object has no attribute 'screen'
Traceback (most recent call last):
File "D:\pythonProject\main.py", line 38, in <module>
ai = AlienInvasion()
File "D:\pythonProject\main.py", line 17, in __init__
self.ship = Ship(self.screen)
File "D:\pythonProject\ship.py", line 7, in __init__
self.screen = ai_game.screen
AttributeError: 'pygame.Surface' object has no attribute 'screen'