Beispiel #1
0
 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)
Beispiel #2
0
    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)
Beispiel #3
0
 def clicked(self):
     PauseScreen.pause(pause_scene_name='pauseScene',
                       transition_back_scene='farm',
                       text="Test",
                       pause_duration=1)
Beispiel #4
0
    def back(self):

        PauseScreen.pause(pause_scene_name='pauseScene',
                          transition_back_scene='main',
                          text="Test",
                          pause_duration=5)
Beispiel #5
0
 def change_screens(self):
     PauseScreen.pause(pause_scene_name='pauseScene',
                       transition_back_scene='screen_two',
                       text="Test",
                       pause_duration=1)
Beispiel #6
0
    def press(self):

        PauseScreen.pause(pause_scene_name='pauseScene',
                          transition_back_scene=FARMYARD_SCREEN_NAME,
                          text="Weeeeeee!",
                          pause_duration=1)