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