Add name to pathfinding classes

This commit is contained in:
Jan Mrna
2025-09-27 18:36:22 +02:00
parent 76f10725ec
commit 1b0edb664c
3 changed files with 25 additions and 1 deletions

View File

@@ -89,6 +89,7 @@ void PathFindingDemo::HandleActions(const std::vector<UserAction> &actions) {
using namespace pathfinder;
PathFinderType type = static_cast<PathFinderType>(action.Argument.number);
m_PathFinder = create(type);
LOG_INFO("Switched to path finding method: ", m_PathFinder->GetName());
}
};
}