Draw after update.
This commit is contained in:
parent
102b89f449
commit
a7735e2084
@ -41,8 +41,8 @@ if __name__ == '__main__':
|
||||
while last_input != InputManager.QUIT:
|
||||
last_input = input_manager.process_input()
|
||||
|
||||
draw_all(window, game_objs)
|
||||
update_all(game_objs, last_input)
|
||||
draw_all(window, game_objs)
|
||||
|
||||
clock.tick(framerate)
|
||||
pygame.display.flip()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user