Exemplo n.º 1
0
    def execute(self, state, t):

        self.report()

        if renpy.display.interface.trans_pause:
            return state

        x, y = renpy.display.focus.matching_focus_coordinates(self.pattern)

        if x is None:
            return state

        click_mouse(1, x, y)
        return None
Exemplo n.º 2
0
 def perform(self, x, y, state, t):
     click_mouse(self.button, x, y)
     return None