更新 'alien_invasion,py'
This commit is contained in:
parent
3a8b1c1fd5
commit
982dad78fd
|
@ -7,3 +7,9 @@ from scoreboard import Scoreboard
|
||||||
from button import Button
|
from button import Button
|
||||||
from ship import Ship
|
from ship import Ship
|
||||||
import game_functions as gf
|
import game_functions as gf
|
||||||
|
|
||||||
|
|
||||||
|
def run_game():
|
||||||
|
# 初始化pygame、设置和屏幕对象
|
||||||
|
pygame.init()
|
||||||
|
ai_settings = Settings()
|
Loading…
Reference in New Issue