Function map_model::pathfind::zone_cost[][src]

pub(crate) fn zone_cost(
    mvmnt: MovementID,
    constraints: PathConstraints,
    map: &Map
) -> Duration
Expand description

Heavily penalize crossing into an access-restricted zone that doesn’t allow this mode.