src/core/managers.py
def run(self):
        """Main loop for entire program."""
        while not self.done:
            time_delta = self.clock.tick(self.fps)
            self.event_loop()
            self.update(time_delta)
            pg.display.update()
            if self.show_fps:
                fps = self.clock.get_fps()
                with_fps = "{} - {:.2f} FPS".format(self.caption, fps)
                pg.display.set_caption(with_fps)
Main loop for entire program.
Main loop for entire program.
Main loop for entire program .
def run(self):
        while not self.done:
            time_delta = self.clock.tick(self.fps)
            self.event_loop()
            self.update(time_delta)
            pg.display.update()
            if self.show_fps:
                fps = self.clock.get_fps()
                with_fps = "{} - {:.2f} FPS".format(self.caption, fps)
                pg.display.set_caption(with_fps)
def run ( self ) : while not self . done : time_delta = self . clock . tick ( self . fps ) self . event_loop ( ) self . update ( time_delta ) pg . display . update ( ) if self . show_fps : fps = self . clock . get_fps ( ) with_fps = "{} - {:.2f} FPS" . format ( self . caption , fps ) pg . display . set_caption ( with_fps )
Main loop for entire program.
Main loop for entire program .
"""Main loop for entire program."""
self