Pathfinder WIP

This commit is contained in:
Jan Mrna
2025-09-27 17:58:26 +02:00
parent 9b08c057e0
commit ea316ab997
5 changed files with 74 additions and 59 deletions

View File

@@ -9,6 +9,7 @@
#include "log.hpp"
#include "map.hpp"
#include "user_input.hpp"
#include "pathfinder.hpp"
class PathFindingDemo {
public:
@@ -34,8 +35,9 @@ public:
private:
bool m_ExitRequested = false;
Map m_Map;
std::vector<std::shared_ptr<Entity>> m_Entities;
std::shared_ptr<Player> m_Player;
std::queue<WorldPos> m_MoveQueue;
Map m_Map;
pathfinder::Path m_Path;
std::unique_ptr<pathfinder::PathFinderBase> m_PathFinder;
};