Draw the path

This commit is contained in:
Jan Mrna
2025-09-27 18:22:53 +02:00
parent ea316ab997
commit e6fc4e881c
4 changed files with 24 additions and 3 deletions

View File

@@ -22,8 +22,9 @@ public:
PathFindingDemo &operator=(PathFindingDemo &&) = delete;
std::shared_ptr<Player> GetPlayer() { return m_Player; }
std::vector<std::shared_ptr<Entity>> &GetEntities() { return m_Entities; }
const Map &GetMap() const { return m_Map; }
std::vector<std::shared_ptr<Entity>>& GetEntities() { return m_Entities; }
const Map& GetMap() const { return m_Map; }
const pathfinder::Path& GetPath() const { return m_Path; }
bool IsExitRequested() const { return m_ExitRequested; }
void AddEntity(std::shared_ptr<Entity> e);