def pause_scene(self):
     # Empty the queue before changing scenes.
     self.flush_events()
     self.signal(events.ScenePaused())
     self.publish()
Exemple #2
0
 def _pause_scene(self):
     """Pause the current scene."""
     # Empty the queue before changing scenes.
     self._flush_events()
     self.signal(events.ScenePaused())
     self.publish()