44 const std::shared_ptr<std::vector<GameObject*>>& siblings) ->
GameObject*;
Base class for a linked list of Path sections, which altogether represent the logic of a Path,...
iterator type, refers to a GameObject, and holds onto a reference to a PathNode to determine its rang...
Definition PathNode.h:45
namespace for things relating to GameObject, other than GameObject itself
Definition Entity.h:229
Given a range of GameObjects, generates a range of all of those GameObjects children.
Definition PathDir.h:29
~PathDir() override=default
static auto checkForPtr(const GameObject *ptr, const std::shared_ptr< std::vector< GameObject * > > &siblings) -> GameObject *
helper function to find next sibling of a GameObject
Definition PathDir.cpp:72
auto begin() -> path_iterator override
Definition PathDir.cpp:23
auto end() -> path_iterator override
Definition PathDir.cpp:28
auto getNext(GameObject *ptr) -> GameObject *override
Used by PathNode::path_iterator to increment.
Definition PathDir.cpp:91
internal type for computing Paths
Definition PathNode.h:37
friend GameObject
Definition PathNode.h:38