This is the place to put all event handeling.

def __handle_events(self):
        """This is the place to put all event handeling."""
        events = pygame.event.get()
        for event in events:
            if event.type == pygame.QUIT:
                self.exit()