class MainMenuStateManager(object):
    def __init__(self, screen):
        self.display = MainMenuDisplay(screen)

    def tick(self):
        self.display.updateScreen()

    def handleEvent(self, event):
        if pygame.MOUSEMOTION == event.type:
            self.display.updateMouseAndButtons(pygame.mouse.get_pos())
        elif pygame.MOUSEBUTTONDOWN == event.type:
            self.display.handleClick(pygame.mouse.get_pressed())

    def reset(self):
        pass
 def __init__(self, screen):
     self.display = MainMenuDisplay(screen)