def _trig_blocked(self): """ Update attributes to start a by pass :return: """ home_direction = self._get_direction_of_home() current_position = self._host.get_position() wall_position = decal(home_direction, current_position) self._set_current_wall_square(wall_position)
def _trig_blocked(self): home_direction = self._get_direction_of_home() current_position = self._host.get_position() wall_position = decal(home_direction, current_position) self._set_current_wall_position(wall_position)