Simulator/src/simulation/simulation/Simulator.java
/**
	 * Remove a map component from the simulation.
	 * 
	 * @param mapComponent
	 *            The map component.
	 */
Remove a map component from the simulation.

@param mapComponent
The map component.
Remove a map component from the simulation . @param mapComponent The map component .
private void remove(MapComponent mapComponent) {
		if (mapComponent == null)
			return;
		map.remove(mapComponent);
		if (mapComponent instanceof XRaySystem)
			map.remove(((XRaySystem) mapComponent).getXRaySensor());
		if (gui != null)
			gui.remove(mapComponent);
	}
private void remove ( MapComponent mapComponent ) { if ( mapComponent == null ) return ; map . remove ( mapComponent ) ; if ( mapComponent instanceof XRaySystem ) map . remove ( ( ( XRaySystem ) mapComponent ) . getXRaySensor ( ) ) ; if ( gui != null ) gui . remove ( mapComponent ) ; }
Remove a map component from the simulation.
Remove a map component from the simulation .