Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
RickMMA committed Feb 8, 2024
1 parent e5c9122 commit 9607eb7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions menu_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(self, surface, pos, size = (200, 60), color = BLUE, text = ""):
Color choosen
"""
# global FONT, WHITE

self.x = pos[0]
self.y = pos[1]
self.size = size
Expand Down Expand Up @@ -111,16 +111,12 @@ def draw_text(text, font, text_color, coords): # Text drawing utility
Gives the font context
coords -> tuple of size 2
coords[0] as x axis and pos[1] as y axis
returns: void
returns: void
"""
font = font.render(text, True, text_color)
DISPLAYSURFACE.blit(font, (coords[0], coords[1]))


def display_menu():
pass


def run():
game_running = True

Expand Down

0 comments on commit 9607eb7

Please sign in to comment.