src/infinity/ecs/core/EntityManager.java
/**
	 * Removes the specified Child-{@link Entity} from it's current Parent-{@link Entity}.
	 * This does not remove the Child-{@link Entity} itself, it only detaches the child from it's
	 * parent. If you want to remove the whole {@link Entity}, use <i>removeEntity</i> instead.
	 * 
	 * @param child The Child-{@link Entity} that should be removed from it's parent. 
	 */
Removes the specified Child- Entity from it's current Parent- Entity.
This does not remove the Child- Entity itself, it only detaches the child from it's
parent. If you want to remove the whole  Entity, use removeEntity instead.

@param child The Child- Entity that should be removed from it's parent.
Removes the specified Child - Entity from it ' s current Parent - Entity . This does not remove the Child - Entity itself it only detaches the child from it ' s parent . If you want to remove the whole Entity use removeEntity instead . @param child The Child - Entity that should be removed from it ' s parent .
public boolean removeChildEntity(Entity child)
			throws IllegalArgumentException {
		Entity parent = _parents.get(child.getId());
		if (parent == null)
			return false;
		List<Entity> tChilds = _children.get(parent.getId());
		if (tChilds == null)
			throw new IllegalArgumentException();
		if (tChilds.remove(child)) {
			_parents.remove(child.getId());
			if (_msgEndpoint != null)
				_msgEndpoint.send(new ChildEntityRemovedMessage(parent, child));
			return true;
		}
		return false;
	}
public boolean removeChildEntity ( Entity child ) throws IllegalArgumentException { Entity parent = _parents . get ( child . getId ( ) ) ; if ( parent == null ) return false ; List < Entity > tChilds = _children . get ( parent . getId ( ) ) ; if ( tChilds == null ) throw new IllegalArgumentException ( ) ; if ( tChilds . remove ( child ) ) { _parents . remove ( child . getId ( ) ) ; if ( _msgEndpoint != null ) _msgEndpoint . send ( new ChildEntityRemovedMessage ( parent , child ) ) ; return true ; } return false ; }
Removes the specified Child-{@link Entity} from it's current Parent-{@link Entity}.
Removes the specified Child - { @link Entity } from it ' s current Parent - { @link Entity } .