"""全部源码在压缩包内""" |
import pygame as pg |
from . import setup, tools |
from . import constants as c |
from .states import main_menu, load_screen, level |
def main(): |
game = tools.Control() |
state_dict = {c.MAIN_MENU: main_menu.Menu(), |
c.LOAD_SCREEN: load_screen.LoadScreen(), |
c.LEVEL: level.Level(), |
c.GAME_OVER: load_screen.GameOver(), |
c.TIME_OUT: load_screen.TimeOut()} |
game.setup_states(state_dict, c.MAIN_MENU) |
game.main() |
中级程序员
by: 捌月天使 发表于:2021-10-01 17:40:04 顶(2) | 踩(0) 回复
666
网友回复
回复python学习者 : 谢谢
顶(2) 踩(0) 2021-10-09 23:14:23
回复评论