Commit aab188e2 authored by jwacyk's avatar jwacyk
Browse files

modification menu.py ajout du bouton quitter

parent 95f39a07
......@@ -71,6 +71,9 @@ class Menu(object):
elif self.dark_gray_rect.collidepoint(position):
player.set_color(constants.DARK_GRAY)
return True
elif self.quit_button_rect.collidepoint(position):
pygame.quit()
sys.exit()
else :
return True
else :
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment