Menu 1.0.py 文件源码

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

项目:Boardgame 作者: RensMo 项目源码 文件源码
def __init__(self):
        self.width = 800
        self.height = 600
        self.size = (self.width, self.height)
        self.caption = "Button Test"
        self.color = pygame.Color("Grey")

        self.M0 = 1
        self.M1 = 0

        pygame.init()

        self.b1 = Button(self.width * 0.85, self.height * 0.05, self.width * 0.1, self.height * 0.05, "Menu")
        self.Menu1 = MainMenu(self.width, self.height)

        self.screen = pygame.display.set_mode(self.size)
        pygame.display.set_caption(self.caption)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号