Simulator/src/model/environment/objects/physicalObject/sensor/impl/BasicWalkThroughMetalDetector.java
/**
	 * Determines if the passenger can go.
	 * 
	 * @return True if it can, false otherwise.
	 */
Determines if the passenger can go.

@return True if it can, false otherwise.
Determines if the passenger can go . @return True if it can false otherwise .
@Override
	public boolean canGo() {
		boolean lastPassengerGone = true;
		if (getLastObservedPassenger() != null) {
			if (shape.contains(getLastObservedPassenger().getPosition().x, getLastObservedPassenger().getPosition().y))
				lastPassengerGone = false;
		}
		return getPersonInConsideration() == null && lastPassengerGone;
	}
@ Override public boolean canGo ( ) { boolean lastPassengerGone = true ; if ( getLastObservedPassenger ( ) != null ) { if ( shape . contains ( getLastObservedPassenger ( ) . getPosition ( ) . x , getLastObservedPassenger ( ) . getPosition ( ) . y ) ) lastPassengerGone = false ; } return getPersonInConsideration ( ) == null && lastPassengerGone ; }
Determines if the passenger can go.
Determines if the passenger can go .