![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Component that dynamically navigates an entity to a specific tile. The entities Controllable component is locked so that only path finding controls it. More...
#include <PathFinder.hpp>
Public Member Functions | |
PathFinder (const bl::tmap::Position &dest) | |
Construct a new Path Finder object. More... | |
Public Attributes | |
bl::tmap::Position | destination |
std::vector< bl::tmap::Position > | path |
unsigned int | step |
Component that dynamically navigates an entity to a specific tile. The entities Controllable component is locked so that only path finding controls it.
Definition at line 18 of file PathFinder.hpp.
|
inline |
Construct a new Path Finder object.
dest | The destination to navigate to |
Definition at line 24 of file PathFinder.hpp.
bl::tmap::Position core::component::PathFinder::destination |
Definition at line 28 of file PathFinder.hpp.
std::vector<bl::tmap::Position> core::component::PathFinder::path |
Definition at line 29 of file PathFinder.hpp.
unsigned int core::component::PathFinder::step |
Definition at line 30 of file PathFinder.hpp.