def __init__(self): pygame.init() renderer = pygame.display.set_mode(self.size) ccGlobals.set_renderer(renderer) ccGlobals.size = self.size
def __init__(self): pygame.init() ccGlobals.set_renderer(pygame.display.set_mode(ccGlobals.size)) self.renderer = ccGlobals.get_renderer()