mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
add 'core:pathfinding' component
This commit is contained in:
parent
e2d0fa830d
commit
a110022ec2
3 changed files with 45 additions and 3 deletions
|
|
@ -181,6 +181,7 @@ Route Pathfinding::perform(Agent& agent, int maxVisited) {
|
|||
}
|
||||
}
|
||||
}
|
||||
state.finished = true;
|
||||
agent.state = std::move(state);
|
||||
return {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue