mjhouse / warfare-rs

A strategy game written in rust
GNU General Public License v3.0
0 stars 0 forks source link

If multiple units are moving with same start/end points, pathfind only once #23

Open mjhouse opened 2 years ago

mjhouse commented 2 years ago

Currently a path is found for each selected unit, but with larger selections this could become a performance issue. Need to group selections by start/end points and pathfind for groups rather than individual units.