add fps to debug

This commit is contained in:
Waylon Walker 2023-01-12 17:43:32 -06:00
parent fe12bd7404
commit 30ba66ab6c
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4

View file

@ -271,6 +271,14 @@ class DebugMenu(Menu):
),
(10, 80),
)
self.surf.blit(
self.font.render(
f"fps: {round(self.game.clock.get_fps())}",
True,
(255, 255, 255),
),
(10, 95),
)
class LightSource: