Commit 49208576 authored by jwacyk's avatar jwacyk
Browse files

modification menu.py et main.py

parent ce55ba2e
......@@ -63,6 +63,6 @@ while 1 :
if player.get_position() !=None :
screen.blit(player.get_cursor(), player.get_cursor().get_position_center(player.get_position()))
if side_menu.get_show_menu() :
side_menu.show_menu(screen)
side_menu.show_menu_on_screen(screen)
pygame.display.update()
......@@ -72,7 +72,7 @@ class Menu(object):
else :
return False
def show_menu(self, screen) :
def show_menu_on_screen(self, screen) :
pygame.draw.rect(screen, constants.GREEN, green_rect)
pygame.draw.rect(screen, constants.BLACK, black_rect)
pygame.draw.rect(screen, constants.YELLOW, yellow_rect)
......
Markdown is supported
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