- fade out when gameOvering

master
Steve Clement 2014-08-30 23:46:28 +02:00
parent b7c34c429f
commit 9149c5201f
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ class TheGame:
def gameOver(self,screen,gameOverImage):
screen.blit(pygame.transform.scale(gameOverImage, (800, 600)), (0, 0))
pygame.display.flip()
self.fade()
pygame.time.wait(3000)
def keepPinned(self, avocado):