def pressed(self): """ Function called on button touch event for button with id: testButton :return: None """ PauseScreen.pause(pause_scene_name='pauseScene', transition_back_scene='main', text="Test", pause_duration=1)
def pressed(self): """ Function called on button touch event for button with id: testButton :return: None """ #PauseScreen.pause(pause_scene_name='pauseScene', transition_back_scene='main', text="Test", pause_duration=5) PauseScreen.pause(pause_scene_name='pauseScene', transition_back_scene='button', text="LOADING BUTTON SCREEN FOR YOU", pause_duration=2)
def clicked(self): PauseScreen.pause(pause_scene_name='pauseScene', transition_back_scene='farm', text="Test", pause_duration=1)
def back(self): PauseScreen.pause(pause_scene_name='pauseScene', transition_back_scene='main', text="Test", pause_duration=5)
def change_screens(self): PauseScreen.pause(pause_scene_name='pauseScene', transition_back_scene='screen_two', text="Test", pause_duration=1)
def press(self): PauseScreen.pause(pause_scene_name='pauseScene', transition_back_scene=FARMYARD_SCREEN_NAME, text="Weeeeeee!", pause_duration=1)