add FPS to draw_level function

This commit is contained in:
d3vyce 2022-08-06 11:20:38 +02:00
parent fdeff9e17f
commit e46fe34ea0

View File

@ -65,7 +65,7 @@ def main():
Move_loop -= 1
# Draw Scene
Screen = window.draw_level(Screen, Matrix, Difficulty, Score, HEIGH, WIDTH)
Screen = window.draw_level(Screen, Matrix, Difficulty, Score, int(clock.get_fps()), HEIGH, WIDTH)
pygame.display.flip()
# Print current fps