def __init__(self):
if config.fullscreen:
config.set_max_resolution()
self.surface = pygame.display.set_mode(config.resolution, pygame.FULLSCREEN)
else:
self.surface = pygame.display.set_mode(config.resolution)
self.background = pygame.Surface(self.surface.get_size())
self.background = self.background.convert()
self.background.fill(config.table_color)
self.surface.blit(self.background, (0, 0))
评论列表
文章目录