Simulator/src/model/agent/humanAgent/aatom/tacticalLevel/navigation/NavigationModule.java
/**
	 * Checks if the goal at a specified index is reached.
	 * 
	 * @param goalIndex
	 *            The index.
	 * @return True if reached, false otherwise
	 */
Checks if the goal at a specified index is reached.

@param goalIndex
The index.
@return True if reached, false otherwise
Checks if the goal at a specified index is reached . @param goalIndex The index . @return True if reached false otherwise
private boolean reachedGoal(int goalIndex) {
		if (goalPositions.size() < goalIndex + 1)
			return false;
		return movementModel.getPosition().distanceTo(goalPositions.get(goalIndex)) < 0.3;
	}
private boolean reachedGoal ( int goalIndex ) { if ( goalPositions . size ( ) < goalIndex + 1 ) return false ; return movementModel . getPosition ( ) . distanceTo ( goalPositions . get ( goalIndex ) ) < 0.3 ; }
Checks if the goal at a specified index is reached.
Checks if the goal at a specified index is reached .