(self)
Called on a timer several times per second.
Called on a timer several times per second.
Called on a timer several times per second .
def autorun(self):
        """Called on a timer several times per second."""
        if self.state_tracker.choose_action_using(choose_action) == "pathfind":
            if not cursor_in_same_position(
                self.state_tracker.start_state.view,
                self.state_tracker.target_state.view,
            ):
                self._run()
            self.state_tracker.reset()
def autorun ( self ) : if self . state_tracker . choose_action_using ( choose_action ) == "pathfind" : if not cursor_in_same_position ( self . state_tracker . start_state . view , self . state_tracker . target_state . view , ) : self . _run ( ) self . state_tracker . reset ( )