src/trackinfrastructure/trackelements/EntryExitPoint.java
@Override
	public void updateOccupation( double start, double end, Route route, Train train ) {
		if( route == exitRoute && start > 0 )
			train.setToBeRemoved( true );
		else
			super.updateOccupation( start, end, route, train );
	}
/**
	 * When a train is fully within the EntryExitPoint and it's on a exit route you can remove it.
	 */
When a train is fully within the EntryExitPoint and it's on a exit route you can remove it.
When a train is fully within the EntryExitPoint and it ' s on a exit route you can remove it .
@Override
	public void updateOccupation( double start, double end, Route route, Train train ) {
		if( route == exitRoute && start > 0 )
			train.setToBeRemoved( true );
		else
			super.updateOccupation( start, end, route, train );
	}
@ Override public void updateOccupation ( double start , double end , Route route , Train train ) { if ( route == exitRoute && start > 0 ) train . setToBeRemoved ( true ) ; else super . updateOccupation ( start , end , route , train ) ; }
When a train is fully within the EntryExitPoint and it's on a exit route you can remove it.
When a train is fully within the EntryExitPoint and it ' s on a exit route you can remove it .