Added invoking sprites update() method every frame

This commit is contained in:
Marcin Kostrzewski 2020-04-06 10:25:28 +02:00
parent 052e56836b
commit 903a406c74

View File

@ -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()