删除 '主程序'
This commit is contained in:
parent
9e12782d27
commit
95b23e61eb
17
主程序
17
主程序
|
|
@ -1,17 +0,0 @@
|
||||||
import pygame
|
|
||||||
|
|
||||||
from settings import Settings
|
|
||||||
from ship import Ship
|
|
||||||
import game_functions as gf
|
|
||||||
from pygame.sprite import Group
|
|
||||||
from game_stats import GameStats
|
|
||||||
from button import Button
|
|
||||||
from scoreboard import Scoreboard
|
|
||||||
|
|
||||||
|
|
||||||
def run_game():
|
|
||||||
# init初始化背景设置
|
|
||||||
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