主文件
This commit is contained in:
parent
22e4f94e95
commit
15ebae112f
|
@ -1,3 +1,6 @@
|
||||||
|
# coding: UTF-8
|
||||||
|
# 项目1:外星人入侵
|
||||||
|
|
||||||
# 系统自带的类或函数
|
# 系统自带的类或函数
|
||||||
# import sys # 退出游戏----集中在game_functions.py中使用,故这注释掉
|
# import sys # 退出游戏----集中在game_functions.py中使用,故这注释掉
|
||||||
import pygame # 含有开发游戏所需功能
|
import pygame # 含有开发游戏所需功能
|
||||||
|
@ -9,7 +12,7 @@ from ship import Ship # 创建飞船的类
|
||||||
from button import Button # 创建按钮的类
|
from button import Button # 创建按钮的类
|
||||||
from game_stats import Game_Stats # 创建跟踪游戏统计信息的类
|
from game_stats import Game_Stats # 创建跟踪游戏统计信息的类
|
||||||
from scoreboard import Scoreboard # 创建得分类
|
from scoreboard import Scoreboard # 创建得分类
|
||||||
from musics import bg_musics # 背景音乐
|
from music import bg_music # 背景音乐
|
||||||
import game_functions as gf # 所有的功能函
|
import game_functions as gf # 所有的功能函
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue