def show_previous_window_end_loop(self, window: Window) -> None:
     self.menu_img.image = window.save_screen()
     self.menu_img.center = window.center
     offset = 50
     while self.game_img.left < window.right:
         self.game_img.move_ip(offset, 0)
         self.menu_img.draw(window.surface)
         self.game_img.draw(window.surface)
         window.refresh(pump=True)
         pygame.time.wait(10)
 def show_new_looping_window(self, window: Window) -> None:
     self.game_img.image = window.save_screen()
     self.game_img.midleft = window.midright
     offset = 50
     while self.game_img.left > 0:
         self.game_img.left = max(self.game_img.left - offset, 0)
         self.menu_img.draw(window.surface)
         self.game_img.draw(window.surface)
         window.refresh(pump=True)
         pygame.time.wait(10)
 def hide_actual_looping_window_end_loop(self, window: Window) -> None:
     self.game_img.image = window.save_screen()
     self.game_img.center = window.center
 def hide_actual_looping_window_start_loop(self, window: Window) -> None:
     self.menu_img.image = window.save_screen()
     self.menu_img.center = window.center