Function screeps::pathfinder::search_many[][src]

pub fn search_many<'a, O, G, I, F>(
    origin: &O,
    goal: G,
    opts: SearchOptions<'a, F>
) -> SearchResults where
    O: HasPosition,
    G: IntoIterator<Item = (I, u32)>,
    I: HasPosition,
    F: FnMut(RoomName) -> MultiRoomCostResult<'a> + 'a, 

Searches between a single origin and multiple goals.