更新 'alien_invasion,py'
This commit is contained in:
parent
c3f56588db
commit
37a2b43fe9
|
@ -13,3 +13,6 @@ def run_game():
|
|||
# 初始化pygame、设置和屏幕对象
|
||||
pygame.init()
|
||||
ai_settings = Settings()
|
||||
screen = pygame.display.set_mode(
|
||||
(ai_settings.screen_width, ai_settings.screen_height))
|
||||
pygame.display.set_caption("Alien Invasion")
|
||||
|
|
Loading…
Reference in New Issue