Kaydet (Commit) de2c1d18 authored tarafından Batuhan Taşkaya's avatar Batuhan Taşkaya

log events

üst 8c0fdd0e
......@@ -84,9 +84,9 @@ class Game:
def event_handler(self):
event = pygame.event.wait()
while event.type is not QUIT:
self.logger.info(f"Event handled: {event}")
self.process_event(event)
event = pygame.event.wait()
print(event)
else:
pygame.quit()
......
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