''

def set_tour(self, index, frames, spy_window):

    self.spy_window = spy_window
    self.active_tour_index = index
    self.last_frame_active = frames['last']
    self.frames = frames['tour']
    self.steps = len(self.frames)
    self.is_tour_set = True
