Added invoking sprites update() method every frame
This commit is contained in:
parent
052e56836b
commit
903a406c74
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user