This commit is contained in:
Waylon Walker 2023-01-02 18:25:18 -06:00
parent f4b483f5bf
commit 0a2edb4aa6
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4

View file

@ -29,6 +29,7 @@ class Game:
self.events = pygame.event.get() self.events = pygame.event.get()
self.should_quit() self.should_quit()
self.reset_screen() self.reset_screen()
self.keys = pygame.key.get_pressed()
self.game() self.game()
for surf in self.surfs: for surf in self.surfs:
pygame.blit(surf) pygame.blit(surf)