From e35c0464fbec1fc95f350e78a94962c4403dbbcd Mon Sep 17 00:00:00 2001 From: 5Stygian <121655781+5Stygian@users.noreply.github.com> Date: Thu, 8 May 2025 14:49:10 -0700 Subject: [PATCH] changed some abbreviations --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 71135a7..fa35ccc 100644 --- a/README.md +++ b/README.md @@ -65,14 +65,14 @@ Now, we have to draw the menu. To do this, just call the draw function on the me ``` running = True while running: - for event in pg.event.get(): - if event.type == pg.QUIT: + for event in pygame.event.get(): + if event.type == pygame.QUIT: running = False screen.fill((0, 0, 0)) menu.draw(screen) #draws the menu to the screen - pg.display.flip() + pygame.display.flip() -pg.quit() #quits pygame after closing the run loop +pygame.quit() #quits pygame after closing the run loop ``` -**IMPORTANT:** Adding the menu to a group and drawing it that way will not draw the menu elements. \ No newline at end of file +**IMPORTANT:** Adding the menu to a group and drawing it that way will not draw the menu elements.