improvement

This commit is contained in:
2026-04-12 11:16:39 +03:00
parent fde764c1fa
commit bb974da0e2
2 changed files with 5 additions and 1 deletions

View File

@@ -28,4 +28,8 @@ namespace omath::pathfinding
else
m_on_next_path_node->operator()(path.front());
}
void WalkBot::on_path(std::function<void(const Vector3<float>&)> callback)
{
m_on_next_path_node = callback;
}
} // namespace omath::pathfinding