ECS/Project/Project/Components/HierarchyComponent/HierarchyComponent.cpp
//	Check if this HierarchyComponent has the child specified by ID.
Check if this HierarchyComponent has the child specified by ID.
Check if this HierarchyComponent has the child specified by ID .
bool HierarchyComponent::hasChild(const long int & queryChild) const
{
	for (auto currentChild : childEntities)
	{
		if (currentChild == queryChild)
		{
			return true;
		}
	}
	return false;
}
bool HierarchyComponent :: hasChild ( const long int & queryChild ) const { for ( auto currentChild : childEntities ) { if ( currentChild == queryChild ) { return true ; } } return false ; }
Check if this HierarchyComponent has the child specified by ID.
Check if this HierarchyComponent has the child specified by ID .