pub fn region_positions(
map_regions: &[MapRegion],
nodes: &HashMap<usize, Vec<PathfinderNode>>,
) -> Vec<(u16, u16)>Expand description
Returns where the AI places each region (see [region_node]), or (0, 0) for regions without nodes.
ยงArguments
map_regions- Regions of the map, in map order.nodes- Pathfinder nodes, by region index.