src/infinity/ecs/core/EntityManager.java
/**
	 * Removes the {@link Component} with the specified {@link ComponentType} from the specified
	 * {@link Entity}.
	 * 
	 * @param entity The {@link Entity} which {@link Component} should be removed.
	 * @param componentType The {@link ComponentType} of the {@link Component} which should be
	 * 		removed.
	 * @return true if the {@link Component} was removed, otherwise false.
	 * @throws IllegalArgumentException When the {@link Entity} was not part of this
	 * 		{@link EntityManager}.
	 */
Removes the  Component with the specified  ComponentType from the specified
Entity.

@param entity The  Entity which  Component should be removed.
@param componentType The  ComponentType of the  Component which should be
removed.
@return true if the  Component was removed, otherwise false.
@throws IllegalArgumentException When the  Entity was not part of this
EntityManager.
Removes the Component with the specified ComponentType from the specified Entity . @param entity The Entity which Component should be removed . @param componentType The ComponentType of the Component which should be removed . @return true if the Component was removed otherwise false . @throws IllegalArgumentException When the Entity was not part of this EntityManager .
public boolean removeComponent(Entity entity, ComponentType componentType) {
		int eId = entity.getId();
		IndexedCollection<Component> ec = _components.get(eId);
		if (ec == null)
			throw new IllegalArgumentException();
		int cId = componentType.getId(); 
		Component c = ec.get(cId);
		if (c == null)
			return false;
		ec.remove(cId);
		_componentMasks.get(eId).remove(componentType);
		if (_msgEndpoint != null)
			_msgEndpoint.send(new ComponentRemovedMessage(c));
		return true;
	}
public boolean removeComponent ( Entity entity , ComponentType componentType ) { int eId = entity . getId ( ) ; IndexedCollection < Component > ec = _components . get ( eId ) ; if ( ec == null ) throw new IllegalArgumentException ( ) ; int cId = componentType . getId ( ) ; Component c = ec . get ( cId ) ; if ( c == null ) return false ; ec . remove ( cId ) ; _componentMasks . get ( eId ) . remove ( componentType ) ; if ( _msgEndpoint != null ) _msgEndpoint . send ( new ComponentRemovedMessage ( c ) ) ; return true ; }
Removes the {@link Component} with the specified {@link ComponentType} from the specified
 {@link Entity}.
Removes the { @link Component } with the specified { @link ComponentType } from the specified { @link Entity } .