Function screeps::pathfinder::search [] [src]

pub fn search<'a, O, G, F>(
    origin: &O,
    goal: &G,
    range: i32,
    opts: SearchOptions<'a, F>
) -> SearchResults where
    O: HasPosition,
    G: HasPosition,
    F: Fn(String) -> CostMatrix<'a> + 'a, 

Searches between a single origin and single goal.