public void setCorridor ( float [ ] target , List < Long > path ) { vCopy ( m_target , target ) ; m_path = new ArrayList <> ( path ) ; }
Loads a new path and target into the corridor . The current corridor position is expected to be within the first polygon in the path . The target is expected to be in the last polygon .