def checkForQuit(self, winSize, screen, FPSClock): """Terminate if QUIT events""" for event in pygame.event.get(QUIT): # get all the QUIT events outro.showOutro(winSize, screen, FPSClock, self) # terminate if any QUIT events are present if K_ESCAPE in self.unpressedKeys: outro.showOutro(winSize, screen, FPSClock, self)
def showOutro(self, winSize, screen, FPSClock): outro.showOutro(winSize, screen, FPSClock)
def showOutro(self, data): """Show an outro screen""" outro.showOutro(data)