From 903a406c741858ec8bc9d66682d5ceeb23cf7ab1 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Mon, 6 Apr 2020 10:25:28 +0200 Subject: [PATCH] Added invoking sprites update() method every frame --- src/game/Game.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/Game.py b/src/game/Game.py index fed4dc4..ba6b8ad 100644 --- a/src/game/Game.py +++ b/src/game/Game.py @@ -59,6 +59,7 @@ class Game: while self.running: # Update ingame clock self.ingameTimer.updateTime(self.pgTimer.tick()) + self.spritesList.update() self.eventManager.handleEvents() self.spritesList.draw(self.screen.pygameScreen) pygame.display.flip()