def setup(self):
self.font = pygame.font.Font(None, 30)
if self.cfg is not None:
self.parse_games_cfg(self.cfg)
else:
self.parse_games()
if self.windowed:
flags = 0
else:
flags = pygame.FULLSCREEN
info = pygame.display.Info()
self.w = info.current_w
self.h = info.current_h
self.screen = pygame.display.set_mode((self.w, self.h), flags)
pygame.mouse.set_visible(False)
评论列表
文章目录