Dritter Stand: compute.py

This commit is contained in:
menketh103189 committed 2026-10-21 22:27:17 +02:00
1 parent ed3f3fdfd3
commit eb6225d194
4 files changed
+70 -10

No files matched your search

+2 -3
View File
@@ -75,9 +75,8 @@ class Game:
Returns:
``False`` bei ``pygame.QUIT``, sonst ``True``.
"""
if event.type == pygame.QUIT:
return False
return True
return event.type != pygame.QUIT
def update_game(self) -> bool:
"""Aktualisiert den Spielzustand um einen Frame.