From 4985794b446acb1454cc29cd4f8fe4b9b95e5221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czeka=C5=84ski?= Date: Sun, 5 Apr 2020 23:57:53 +0200 Subject: [PATCH] Add updating time in top left corner --- src/game/EventManager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/EventManager.py b/src/game/EventManager.py index 7ee55b6..3960521 100644 --- a/src/game/EventManager.py +++ b/src/game/EventManager.py @@ -21,6 +21,8 @@ class EventManager: def handleEvents(self): pygame.event.pump() + self.game.screen.ui.timerTextView.changeText(self.game.ingameTimer.getPrettyTime()) + keys = pygame.key.get_pressed() for event in pygame.event.get(): if event.type == pygame.QUIT: