def draw(): ROOT.draw() pygame.display.update() pygame.display.flip()
def update(): update_ui() ROOT.update()