MainMenuNew.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:opseilen 作者: Baal221 项目源码 文件源码
def __init__(self, width, height):
        self.Width = width
        self.Height = height        
        self.Image = pygame.image.load(os.path.join('project2/euromast_illustratie_02.jpg'))
        self.Buttons = [Button("PLAY", 250, 40, lambda : game.Game().program_loop()),
                        #Button("LOAD SAVE GAME", 250, 80, lambda: [game.Game().program_loop(), other.SaveGame.load()]),
                        Button("INSTRUCTIONS", 250, 110, lambda : InstructionMenu(width, height)),
                        Button("HIGH SCORE", 250, 180, lambda : HighScoreMenu(width, height)),
                        Button("QUIT", 250, 250, lambda : sys.exit())]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号