ECS/Project/Project/Components/HierarchyComponent/HierarchyComponent.cpp
//	Add a child to this entity. (Does not mark that entity as being parented to this entity)
Add a child to this entity. (Does not mark that entity as being parented to this entity)
Add a child to this entity . ( Does not mark that entity as being parented to this entity )
void HierarchyComponent::addChild(const long int & newChild)
{
	if (!(hasChild(newChild)))
	{
		childEntities.push_back(newChild);
	}
}
void HierarchyComponent :: addChild ( const long int & newChild ) { if ( ! ( hasChild ( newChild ) ) ) { childEntities . push_back ( newChild ) ; } }
Add a child to this entity.
Add a child to this entity .