#ifndef PATHFINDCOMPONENT_H #define PATHFINDCOMPONENT_H #include "Game/Systems/Pathfinding/pathfinder.h" #include "glm/fwd.hpp" #include #include "Component.h" class PathfindComponent : public Component { public: PathfindComponent(std::vector vertices, std::vector triangles); std::vector getPath(const glm::vec3 &A, const glm::vec3 &B); private: std::vector m_vertices; std::vector m_triangles; std::unique_ptr m_pathfinder; }; #endif // PATHFINDCOMPONENT_H